Fix G33 sprintf output warning (#12738)

This commit is contained in:
Ludy 2018-12-28 01:05:42 +01:00 committed by Scott Lahteine
parent 3877bf9704
commit 814d93c7cf

View File

@ -649,7 +649,7 @@ void GcodeSuite::G33() {
else { // !end iterations
char mess[15];
if (iterations < 31)
sprintf_P(mess, PSTR("Iteration : %02i"), (int)iterations);
sprintf_P(mess, PSTR("Iteration : %02i"), (unsigned int)iterations);
else
strcpy_P(mess, PSTR("No convergence"));
SERIAL_ECHO(mess);