Signed-off-by: Martin Storsjö <[email protected]>
---
mingw-w64-libraries/winstorecompat/src/beginthread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mingw-w64-libraries/winstorecompat/src/beginthread.c
b/mingw-w64-libraries/winstorecompat/src/beginthread.c
index e0e286bb1..f96d1f7ef 100644
--- a/mingw-w64-libraries/winstorecompat/src/beginthread.c
+++ b/mingw-w64-libraries/winstorecompat/src/beginthread.c
@@ -49,6 +49,6 @@ void __cdecl _endthreadex(unsigned _Retval)
uintptr_t (__cdecl *__MINGW_IMP_SYMBOL(_beginthreadex))(void*, unsigned,
unsigned (__stdcall *)(void *), void *,unsigned, unsigned*)
__asm__("__imp___beginthreadex") = _beginthreadex;
void (__cdecl *__MINGW_IMP_SYMBOL(_endthreadex))(unsigned)
__asm__("__imp___endthreadex") = _endthreadex;
#else
-void (__cdecl *__MINGW_IMP_SYMBOL(_beginthreadex))(void*, unsigned, unsigned
(__stdcall *)(void *), void *,unsigned, unsigned*)
__asm__("__imp__beginthreadex") = _beginthreadex;
+uintptr_t (__cdecl *__MINGW_IMP_SYMBOL(_beginthreadex))(void*, unsigned,
unsigned (__stdcall *)(void *), void *,unsigned, unsigned*)
__asm__("__imp__beginthreadex") = _beginthreadex;
void (__cdecl *__MINGW_IMP_SYMBOL(_endthreadex))(unsigned)
__asm__("__imp__endthreadex") = _endthreadex;
#endif
--
2.17.1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public