server/util: use standard types

This commit is contained in:
Viktor Szakats 2025-08-01 22:20:25 +02:00
parent 57ff443a4c
commit 4f0b6e56c0
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -350,7 +350,7 @@ static SIGHANDLER_T old_sigbreak_handler = SIG_ERR;
#endif
#if defined(_WIN32) && !defined(CURL_WINDOWS_UWP) && !defined(UNDER_CE)
static unsigned int thread_main_id = 0;
static CURL_THREAD_RETURN_T thread_main_id = 0;
static HANDLE thread_main_window = NULL;
static HWND hidden_main_window = NULL;
#endif
@ -488,7 +488,7 @@ static LRESULT CALLBACK main_window_proc(HWND hwnd, UINT uMsg,
/* Window message queue loop for hidden main window, details see above.
*/
#include <process.h>
static unsigned int WINAPI main_window_loop(void *lpParameter)
static CURL_THREAD_RETURN_T WINAPI main_window_loop(void *lpParameter)
{
WNDCLASS wc;
BOOL ret;