commit bc8e12c8379d7bf1d99bf67260bcefadd77852a8
parent da68f321e5e93968cfa383ba9dd6382852fd02ae
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Wed, 26 Sep 2018 23:59:26 +0300
Fixed compiler warning on W32
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
@@ -5844,7 +5844,7 @@ MHD_start_daemon_va (unsigned int flags,
if (0 != setsockopt (listen_fd,
IPPROTO_TCP,
TCP_FASTOPEN,
- &daemon->fastopen_queue_size,
+ (const void*)&daemon->fastopen_queue_size,
sizeof (daemon->fastopen_queue_size)))
{
#ifdef HAVE_MESSAGES