msvcrt: Add cast to avoid 'long' types warning in _beginthreadex.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-02-03 11:50:24 +01:00 committed by Alexandre Julliard
parent 3fb30b5d75
commit 800971f934
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ uintptr_t CDECL _beginthreadex(
#endif #endif
thread = CreateThread(security, stack_size, _beginthreadex_trampoline, thread = CreateThread(security, stack_size, _beginthreadex_trampoline,
trampoline, initflag, thrdaddr); trampoline, initflag, (DWORD *)thrdaddr);
if(!thread) { if(!thread) {
#if _MSVCR_VER >= 140 #if _MSVCR_VER >= 140
FreeLibrary(trampoline->module); FreeLibrary(trampoline->module);