From 7577e587be028f8295963c9216366228ad922381 Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Mon, 18 Jun 2018 12:15:37 +0200 Subject: [PATCH] lwip_itoa: fix implicit conversion warning --- src/core/def.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/def.c b/src/core/def.c index 89fc8ae7..9da36fee 100644 --- a/src/core/def.c +++ b/src/core/def.c @@ -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