Browse Source

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>
pull/1/head
Giel van Schijndel 12 years ago
parent
commit
df40181417
  1. 2
      src/util.h

2
src/util.h

@ -648,7 +648,7 @@ inline bool TerminateThread(pthread_t hthread, unsigned int nExitCode) @@ -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);
}

Loading…
Cancel
Save