fix thread handles on win9x

This commit is contained in:
Glenn Maynard
2004-09-14 04:39:52 +00:00
parent ee0ac7ac11
commit fefe7bad49
+2 -2
View File
@@ -13,7 +13,7 @@ static void InitThreadIdMutex()
g_pThreadIdMutex = new MutexImpl_Win32(NULL);
}
static int g_ThreadIds[MAX_THREADS];
static uint64_t g_ThreadIds[MAX_THREADS];
static HANDLE g_ThreadHandles[MAX_THREADS];
HANDLE Win32ThreadIdToHandle( uint64_t iID )
@@ -76,7 +76,7 @@ static DWORD WINAPI StartThread( LPVOID pData )
return ret;
}
static int GetOpenSlot( int iID )
static int GetOpenSlot( uint64_t iID )
{
InitThreadIdMutex();