We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f2b798 commit 481bf84Copy full SHA for 481bf84
libraries/Wire/Wire.cpp
@@ -59,7 +59,7 @@ uint8_t arduino::MbedI2C::requestFrom(uint8_t address, size_t len, bool stopBit)
59
if (ret != 0) {
60
return 0;
61
}
62
- for (int i=0; i<len; i++) {
+ for (size_t i=0; i<len; i++) {
63
rxBuffer.store_char(buf[i]);
64
65
return len;
0 commit comments