libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 09f0f88e5d4b080e9955d15d05c64271e4ac65ed
parent 1fe42d258e3047b833266fc26c3ad38155055554
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Fri, 24 Feb 2017 22:26:51 +0300

response.c: silent GCC's false warning

Diffstat:
Msrc/microhttpd/response.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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;