[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 03/04: response.c: fixed compiler warning on W32
From: |
gnunet |
Subject: |
[libmicrohttpd] 03/04: response.c: fixed compiler warning on W32 |
Date: |
Sun, 11 Apr 2021 11:42:21 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 6507a4bf38a9c8c07ce6be06a765fff4ff4fe6cd
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Apr 7 21:52:19 2021 +0300
response.c: fixed compiler warning on W32
---
src/microhttpd/response.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
#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;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.