mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 13:34:38 +08:00
lwip_itoa: fix implicit conversion warning
This commit is contained in:
parent
ce16f8c498
commit
7577e587be
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user