[PATCH 10/11] dlls/msvc* and al.: user correct integral types

Eric Pouech eric.pouech at gmail.com
Thu Feb 3 04:50:24 CST 2022


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

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




More information about the wine-devel mailing list