aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd')
-rw-r--r--src/microhttpd/daemon.c2
-rw-r--r--src/microhttpd/mhd_sockets.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 3d09a975..beeee7d8 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -1884,7 +1884,7 @@ thread_main_handle_connection (void *data)
1884 MHD_socket maxsock; 1884 MHD_socket maxsock;
1885#if WINDOWS 1885#if WINDOWS
1886#ifdef HAVE_POLL 1886#ifdef HAVE_POLL
1887 int extra_slot; 1887 unsigned int extra_slot;
1888#endif /* HAVE_POLL */ 1888#endif /* HAVE_POLL */
1889#define EXTRA_SLOTS 1 1889#define EXTRA_SLOTS 1
1890#else /* !WINDOWS */ 1890#else /* !WINDOWS */
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