aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r--src/microhttpd/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index e5ca32d1..d7374b5a 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1157,7 +1157,7 @@ try_ready_chunked_body (struct MHD_Connection *connection,
1157 if (max_chunk < size_to_fill) 1157 if (max_chunk < size_to_fill)
1158 size_to_fill = max_chunk; 1158 size_to_fill = max_chunk;
1159 if (left_to_send < size_to_fill) 1159 if (left_to_send < size_to_fill)
1160 size_to_fill = left_to_send; 1160 size_to_fill = (size_t) left_to_send;
1161 1161
1162 if (0 == left_to_send) 1162 if (0 == left_to_send)
1163 /* nothing to send, don't bother calling crc */ 1163 /* nothing to send, don't bother calling crc */