Browse Source

Fixed compiler warning on W32

Evgeny Grin (Karlson2k) 7 years ago
parent
commit
bc8e12c837
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/microhttpd/daemon.c

+ 1 - 1
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