From 48bb785daacf2d7604feb72ecbc9d0a72c6abe44 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 7 Sep 2025 16:36:55 +0200 Subject: [PATCH] try dropping a `(void *)` cast --- tests/server/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/server/util.c b/tests/server/util.c index 62f4a11fe4..6ae64a5e60 100644 --- a/tests/server/util.c +++ b/tests/server/util.c @@ -623,7 +623,7 @@ void install_signal_handlers(bool keep_sigalrm) #if !defined(CURL_WINDOWS_UWP) && !defined(UNDER_CE) thread_main_window = CreateThread(NULL, 0, &main_window_loop, - (void *)GetModuleHandle(NULL), 0, + GetModuleHandle(NULL), 0, &thread_main_id); if(!thread_main_window || !thread_main_id) logmsg("cannot start main window loop");