We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e12dcc6 + 9509587 commit 87643f9Copy full SHA for 87643f9
hardware/arduino/avr/cores/arduino/Print.cpp
@@ -257,7 +257,7 @@ size_t Print::printFloat(double number, uint8_t digits)
257
while (digits-- > 0)
258
{
259
remainder *= 10.0;
260
- int toPrint = int(remainder);
+ unsigned toPrint = unsigned(remainder);
261
n += print(toPrint);
262
remainder -= toPrint;
263
}
0 commit comments