diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-02-24 22:26:51 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-02-24 22:26:51 +0300 |
commit | 09f0f88e5d4b080e9955d15d05c64271e4ac65ed (patch) | |
tree | 0a3e3c5ddd47ecefd2d54c116db517338b556e1c /src/microhttpd | |
parent | 1fe42d258e3047b833266fc26c3ad38155055554 (diff) | |
download | libmicrohttpd-09f0f88e5d4b080e9955d15d05c64271e4ac65ed.tar.gz libmicrohttpd-09f0f88e5d4b080e9955d15d05c64271e4ac65ed.zip |
response.c: silent GCC's false warning
Diffstat (limited to 'src/microhttpd')
-rw-r--r-- | src/microhttpd/response.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
397 | return MHD_CONTENT_READER_END_WITH_ERROR; /* Value of 'response->fd' is not valid. */ | 397 | return MHD_CONTENT_READER_END_WITH_ERROR; /* Value of 'response->fd' is not valid. */ |
398 | else | 398 | else |
399 | { | 399 | { |
400 | OVERLAPPED f_ol = {0, 0, 0, 0}; /* Initialize to zero. */ | 400 | OVERLAPPED f_ol = {0, 0, {{0, 0}}, 0}; /* Initialize to zero. */ |
401 | ULARGE_INTEGER pos_uli; | 401 | ULARGE_INTEGER pos_uli; |
402 | DWORD toRead = (max > INT32_MAX) ? INT32_MAX : (DWORD) max; | 402 | DWORD toRead = (max > INT32_MAX) ? INT32_MAX : (DWORD) max; |
403 | DWORD resRead; | 403 | DWORD resRead; |