summaryrefslogtreecommitdiff
path: root/include/m_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_core.h')
-rw-r--r--include/m_core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_core.h b/include/m_core.h
index 43cc67a417..2fb4031bd6 100644
--- a/include/m_core.h
+++ b/include/m_core.h
@@ -467,8 +467,8 @@ __forceinline HANDLE mir_forkthread(pThreadFunc aFunc, void* arg)
{ return (HANDLE)forkthread(aFunc, 0, arg);
}
-__forceinline HANDLE mir_forkthreadex(pThreadFuncEx aFunc, void* arg, int stackSize, unsigned* pThreadID)
-{ return (HANDLE)forkthreadex(NULL, stackSize, aFunc, NULL, arg, pThreadID);
+__forceinline HANDLE mir_forkthreadex(pThreadFuncEx aFunc, void* arg, unsigned* pThreadID)
+{ return (HANDLE)forkthreadex(NULL, 0, aFunc, NULL, arg, pThreadID);
}
__forceinline HANDLE mir_forkthreadowner(pThreadFuncOwner aFunc, void* owner, void* arg, unsigned* pThreadID)