From 4f0b6e56c04b81200fcbc3fe6307ce8866d09bfd Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 1 Aug 2025 22:20:25 +0200 Subject: [PATCH] server/util: use standard types --- tests/server/util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/server/util.c b/tests/server/util.c index 72e91f9f8d..44425f03e4 100644 --- a/tests/server/util.c +++ b/tests/server/util.c @@ -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 -static unsigned int WINAPI main_window_loop(void *lpParameter) +static CURL_THREAD_RETURN_T WINAPI main_window_loop(void *lpParameter) { WNDCLASS wc; BOOL ret;