aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/response.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-04-07 21:52:19 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-04-11 12:38:47 +0300
commit6507a4bf38a9c8c07ce6be06a765fff4ff4fe6cd (patch)
tree8b5c1b744e9cf41b1dcc75f8038e51e828aa1569 /src/microhttpd/response.c
parent8a7c20f79226f92417a340c9a1bc8d0371f10cdd (diff)
downloadlibmicrohttpd-6507a4bf38a9c8c07ce6be06a765fff4ff4fe6cd.tar.gz
libmicrohttpd-6507a4bf38a9c8c07ce6be06a765fff4ff4fe6cd.zip
response.c: fixed compiler warning on W32
Diffstat (limited to 'src/microhttpd/response.c')
-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 14e036c8..c4b6c1e0 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -967,7 +967,7 @@ MHD_create_response_from_iovec (const struct MHD_IoVec *iov,
967#if defined(MHD_WINSOCK_SOCKETS) && defined(_WIN64) 967#if defined(MHD_WINSOCK_SOCKETS) && defined(_WIN64)
968 while (ULONG_MAX < element_size) 968 while (ULONG_MAX < element_size)
969 { 969 {
970 iov_copy[i_cp].iov_base = buf; 970 iov_copy[i_cp].iov_base = (char *) buf;
971 iov_copy[i_cp].iov_len = ULONG_MAX; 971 iov_copy[i_cp].iov_len = ULONG_MAX;
972 buf += ULONG_MAX; 972 buf += ULONG_MAX;
973 element_size -= ULONG_MAX; 973 element_size -= ULONG_MAX;