compile fix

This commit is contained in:
Glenn Maynard
2004-06-16 03:08:21 +00:00
parent f6876a8f12
commit 075bc0ff9a
+1 -1
View File
@@ -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")) );