From fa3e94ddcdd2f6324b6df9cc6a99b089cddb24db Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Fri, 23 Apr 2021 14:26:42 +0300 Subject: [PATCH] Fixed compiler warnings on x32 --- src/microhttpd/response.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c index 3ff10fe0..cc0cd38b 100644 --- a/src/microhttpd/response.c +++ b/src/microhttpd/response.c @@ -941,7 +941,7 @@ MHD_create_response_from_iovec (const struct MHD_IoVec *iov, { mhd_assert (NULL != last_valid_buffer); response->data = (void *) last_valid_buffer; - response->data_size = total_size; + response->data_size = (size_t) total_size; return response; } mhd_assert (1 < i_cp);