[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 01/02: response.c: silent GCC's false warni
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 01/02: response.c: silent GCC's false warning |
Date: |
Fri, 24 Feb 2017 20:34:33 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 09f0f88e5d4b080e9955d15d05c64271e4ac65ed
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Fri Feb 24 22:26:51 2017 +0300
response.c: silent GCC's false warning
---
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 8ad6a9d7..498174e6 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -397,7 +397,7 @@ file_reader (void *cls,
return MHD_CONTENT_READER_END_WITH_ERROR; /* Value of 'response->fd' is
not valid. */
else
{
- OVERLAPPED f_ol = {0, 0, 0, 0}; /* Initialize to zero. */
+ OVERLAPPED f_ol = {0, 0, {{0, 0}}, 0}; /* Initialize to zero. */
ULARGE_INTEGER pos_uli;
DWORD toRead = (max > INT32_MAX) ? INT32_MAX : (DWORD) max;
DWORD resRead;
--
To stop receiving notification emails like this one, please contact
address@hidden