try dropping a (void *) cast

This commit is contained in:
Viktor Szakats 2025-09-07 16:36:55 +02:00
parent 0277fa0022
commit 48bb785daa
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -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");