commit 54e679e5a7e968c14e44f0aa5511e63542aba9e9
parent a1cc6eeea3488af7b3d356e09d0707a82c1dff11
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Tue, 26 Oct 2021 10:42:50 +0300
connection.c: fixed harmless compiler warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
@@ -1157,7 +1157,7 @@ try_ready_chunked_body (struct MHD_Connection *connection,
if (max_chunk < size_to_fill)
size_to_fill = max_chunk;
if (left_to_send < size_to_fill)
- size_to_fill = left_to_send;
+ size_to_fill = (size_t) left_to_send;
if (0 == left_to_send)
/* nothing to send, don't bother calling crc */