diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-05-14 15:48:35 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-05-14 15:48:35 +0300 |
commit | e4d6c07b141b0ddb989d6826e4f8344c50e1b5fa (patch) | |
tree | ffd3738ea86697553678e4e8076a56e57965233d /src/microhttpd/mhd_sockets.h | |
parent | 840bc6ecfc2d8f65687c0c788cb595489e5cc0bd (diff) | |
download | libmicrohttpd-e4d6c07b141b0ddb989d6826e4f8344c50e1b5fa.tar.gz libmicrohttpd-e4d6c07b141b0ddb989d6826e4f8344c50e1b5fa.zip |
Fixed some compiler warnings on W32
Diffstat (limited to 'src/microhttpd/mhd_sockets.h')
-rw-r--r-- | src/microhttpd/mhd_sockets.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/mhd_sockets.h b/src/microhttpd/mhd_sockets.h index 89f7d161..224d8464 100644 --- a/src/microhttpd/mhd_sockets.h +++ b/src/microhttpd/mhd_sockets.h | |||
@@ -443,8 +443,8 @@ typedef int MHD_SCKT_SEND_SIZE_; | |||
443 | (((void*) (w) == (void*) 0) || ((fd_set*) (w))->fd_count == 0) && \ | 443 | (((void*) (w) == (void*) 0) || ((fd_set*) (w))->fd_count == 0) && \ |
444 | (((void*) (e) == (void*) 0) || ((fd_set*) (e))->fd_count == 0) ) ? \ | 444 | (((void*) (e) == (void*) 0) || ((fd_set*) (e))->fd_count == 0) ) ? \ |
445 | ( ((void*) (t) == (void*) 0) ? 0 : \ | 445 | ( ((void*) (t) == (void*) 0) ? 0 : \ |
446 | (Sleep (((struct timeval*) (t))->tv_sec * 1000 \ | 446 | (Sleep ((DWORD)((struct timeval*) (t))->tv_sec * 1000 \ |
447 | + ((struct timeval*) (t))->tv_usec / 1000), 0) ) : \ | 447 | + (DWORD)((struct timeval*) (t))->tv_usec / 1000), 0) ) : \ |
448 | (select ((int) 0,(r),(w),(e),(t))) ) | 448 | (select ((int) 0,(r),(w),(e),(t))) ) |
449 | #endif | 449 | #endif |
450 | 450 | ||