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

View file

@ -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);