Eric Pouech : msvcrt: Add cast to avoid 'long' types warning in _beginthreadex.
Module: wine Branch: master Commit: 800971f9344e67067f0c8c96a8ffb4c264414d4d URL: https://source.winehq.org/git/wine.git/?a=commit;h=800971f9344e67067f0c8c96a... Author: Eric Pouech <eric.pouech(a)gmail.com> Date: Thu Feb 3 11:50:24 2022 +0100 msvcrt: Add cast to avoid 'long' types warning in _beginthreadex. Signed-off-by: Eric Pouech <eric.pouech(a)gmail.com> Signed-off-by: Piotr Caban <piotr(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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);
participants (1)
-
Alexandre Julliard