compile fix
This commit is contained in:
@@ -74,7 +74,7 @@ ThreadImpl *MakeThread( int (*pFunc)(void *pData), void *pData, uint64_t *piThre
|
||||
|
||||
/* XXX: does ThreadHandle need to be dup'd? */
|
||||
thread->ThreadHandle = CreateThread( NULL, 0, &StartThread, thread, 0, &thread->ThreadId );
|
||||
*piThreadID = thread->ThreadHandle;
|
||||
*piThreadID = (uint64_t) thread->ThreadHandle;
|
||||
|
||||
ASSERT_M( thread->ThreadHandle, ssprintf("%s", werr_ssprintf(GetLastError(), "CreateThread")) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user