mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 23:12:09 +00: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;
|
return;
|
||||||
}
|
}
|
||||||
/* move from temporary buffer to output buffer (sign is not moved) */
|
/* 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
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user