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.
1 parent 87643f9 commit 1884d1dCopy full SHA for 1884d1d
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
- unsigned toPrint = unsigned(remainder);
+ unsigned int toPrint = (unsigned int)(remainder);
261
n += print(toPrint);
262
remainder -= toPrint;
263
}
0 commit comments