changeset 775:b0085183c74c draft

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>
author Giel van Schijndel <me@mortis.eu>
date Tue, 12 Jul 2011 14:24:14 +0200
parents 95297f73cfc3
children f64d738664f8
files src/util.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/util.h
+++ b/src/util.h
@@ -648,7 +648,7 @@
     return (pthread_cancel(hthread) == 0);
 }
 
-inline void ExitThread(unsigned int nExitCode)
+inline void ExitThread(size_t nExitCode)
 {
     pthread_exit((void*)nExitCode);
 }