gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 03/03: test_shutdown_select: muted compiler warninig


From: gnunet
Subject: [libmicrohttpd] 03/03: test_shutdown_select: muted compiler warninig
Date: Sun, 17 Sep 2023 18:04:35 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 580814314f09b8e73f7641264998320a9694a459
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Fri Sep 15 18:54:55 2023 +0300

    test_shutdown_select: muted compiler warninig
---
 src/microhttpd/test_shutdown_select.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/test_shutdown_select.c 
b/src/microhttpd/test_shutdown_select.c
index a002f963..9f68fd05 100644
--- a/src/microhttpd/test_shutdown_select.c
+++ b/src/microhttpd/test_shutdown_select.c
@@ -338,8 +338,8 @@ main (int argc, char *const *argv)
       return 99;
     }
 #elif defined(MHD_USE_W32_THREADS)
-    sel_thrd = (HANDLE) _beginthreadex (NULL, 0, test_func, &listen_socket, 0,
-                                        NULL);
+    sel_thrd = (HANDLE) (uintptr_t)
+               _beginthreadex (NULL, 0, test_func, &listen_socket, 0, NULL);
     if (0 == (sel_thrd))
     {
       MHD_socket_close_chk_ (listen_socket);

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]