response.c: fixed compiler warning on W32

This commit is contained in:
Evgeny Grin (Karlson2k)
2021-04-11 12:38:47 +03:00
parent 8a7c20f792
commit 6507a4bf38
+1 -1
View File
@@ -967,7 +967,7 @@ MHD_create_response_from_iovec (const struct MHD_IoVec *iov,
#if defined(MHD_WINSOCK_SOCKETS) && defined(_WIN64)
while (ULONG_MAX < element_size)
{
iov_copy[i_cp].iov_base = buf;
iov_copy[i_cp].iov_base = (char *) buf;
iov_copy[i_cp].iov_len = ULONG_MAX;
buf += ULONG_MAX;
element_size -= ULONG_MAX;