commit 6507a4bf38a9c8c07ce6be06a765fff4ff4fe6cd
parent 8a7c20f79226f92417a340c9a1bc8d0371f10cdd
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Wed, 7 Apr 2021 21:52:19 +0300
response.c: fixed compiler warning on W32
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
@@ -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;