From 800971f9344e67067f0c8c96a8ffb4c264414d4d Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Thu, 3 Feb 2022 11:50:24 +0100 Subject: [PATCH] msvcrt: Add cast to avoid 'long' types warning in _beginthreadex. Signed-off-by: Eric Pouech Signed-off-by: Piotr Caban Signed-off-by: Alexandre Julliard --- dlls/msvcrt/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msvcrt/thread.c b/dlls/msvcrt/thread.c index 173763d0eb1..e71b949a6d5 100644 --- a/dlls/msvcrt/thread.c +++ b/dlls/msvcrt/thread.c @@ -235,7 +235,7 @@ uintptr_t CDECL _beginthreadex( #endif thread = CreateThread(security, stack_size, _beginthreadex_trampoline, - trampoline, initflag, thrdaddr); + trampoline, initflag, (DWORD *)thrdaddr); if(!thread) { #if _MSVCR_VER >= 140 FreeLibrary(trampoline->module);