Browse Source

lwip_itoa: fix implicit conversion warning

STABLE-2_1_x
Simon Goldschmidt 8 years ago
parent
commit
7577e587be
  1. 2
      src/core/def.c

2
src/core/def.c

@ -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…
Cancel
Save