From fefe7bad498452a1f1733925a06b480a7e16d08b Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 14 Sep 2004 04:39:52 +0000 Subject: [PATCH] fix thread handles on win9x --- stepmania/src/arch/Threads/Threads_Win32.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/arch/Threads/Threads_Win32.cpp b/stepmania/src/arch/Threads/Threads_Win32.cpp index b2e25d87a7..42b79eded9 100644 --- a/stepmania/src/arch/Threads/Threads_Win32.cpp +++ b/stepmania/src/arch/Threads/Threads_Win32.cpp @@ -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();