commit fa3e94ddcdd2f6324b6df9cc6a99b089cddb24db
parent 4049caeb1c53bf6de107e7e18ccf68a2cde84d86
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Fri, 23 Apr 2021 14:26:42 +0300
Fixed compiler warnings on x32
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);