From c4b076ea1bde27106df049f33a1dd47f315e6b8b Mon Sep 17 00:00:00 2001 From: Hanicef <gustaf@hanicef.me> Date: Sun, 31 Dec 2023 22:36:58 +0100 Subject: [PATCH] Fix compiler warning on Windows --- src/dedicated/i_threads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dedicated/i_threads.c b/src/dedicated/i_threads.c index 7503d34a23..6902e23a52 100644 --- a/src/dedicated/i_threads.c +++ b/src/dedicated/i_threads.c @@ -185,7 +185,7 @@ struct thread_s static thread_t *thread_list; static CRITICAL_SECTION thread_lock; -static DWORD HandleThread(void *data) +static DWORD __stdcall HandleThread(void *data) { thread_t *thread = data; thread->func(thread->userdata); -- GitLab