fix warning on 64bit systems: cast to pointer from integer of different size [-Wint-to-pointer-cast]

Signed-off-by: Giel van Schijndel <me@mortis.eu>
This commit is contained in:
Giel van Schijndel 2011-07-12 14:24:14 +02:00
parent 0ca8324f59
commit df40181417
1 changed files with 1 additions and 1 deletions

View File

@ -648,7 +648,7 @@ inline bool TerminateThread(pthread_t hthread, unsigned int nExitCode)
return (pthread_cancel(hthread) == 0);
}
inline void ExitThread(unsigned int nExitCode)
inline void ExitThread(size_t nExitCode)
{
pthread_exit((void*)nExitCode);
}