fix warning on 64bit systems: cast to pointer from integer of different size [-Wint...
authorGiel van Schijndel <me@mortis.eu>
Tue, 12 Jul 2011 12:24:14 +0000 (14:24 +0200)
committerGiel van Schijndel <me@mortis.eu>
Wed, 13 Jul 2011 03:07:44 +0000 (05:07 +0200)
Signed-off-by: Giel van Schijndel <me@mortis.eu>

src/util.h

index e711057..064339f 100644 (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);
 }