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:
parent
3fb30b5d75
commit
800971f934
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue