lwip_itoa: fix implicit conversion warning

This commit is contained in:
Simon Goldschmidt 2018-06-18 12:15:37 +02:00
parent ce16f8c498
commit 7577e587be

View File

@ -235,6 +235,6 @@ lwip_itoa(char *result, size_t bufsize, int number)
return;
}
/* move from temporary buffer to output buffer (sign is not moved) */
memmove(res, tmp, (result + bufsize) - tmp);
memmove(res, tmp, (size_t)((result + bufsize) - tmp));
}
#endif