aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-04-23 14:26:42 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-04-23 18:05:36 +0300
commitfa3e94ddcdd2f6324b6df9cc6a99b089cddb24db (patch)
tree1a03ba21d593f1587830a8f11fe86056e7f34520 /src
parent4049caeb1c53bf6de107e7e18ccf68a2cde84d86 (diff)
downloadlibmicrohttpd-fa3e94ddcdd2f6324b6df9cc6a99b089cddb24db.tar.gz
libmicrohttpd-fa3e94ddcdd2f6324b6df9cc6a99b089cddb24db.zip
Fixed compiler warnings on x32
Diffstat (limited to 'src')
-rw-r--r--src/microhttpd/response.c2
1 files changed, 1 insertions, 1 deletions
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,
941 { 941 {
942 mhd_assert (NULL != last_valid_buffer); 942 mhd_assert (NULL != last_valid_buffer);
943 response->data = (void *) last_valid_buffer; 943 response->data = (void *) last_valid_buffer;
944 response->data_size = total_size; 944 response->data_size = (size_t) total_size;
945 return response; 945 return response;
946 } 946 }
947 mhd_assert (1 < i_cp); 947 mhd_assert (1 < i_cp);