src/thread/pthread/SDL_systhread.c
branchSDL-1.2
changeset 4187 b8d7c7a46ff7
parent 4159 a1b03ba2fcd0
child 6137 4720145f848b
     1.1 --- a/src/thread/pthread/SDL_systhread.c	Sat Sep 12 13:15:27 2009 +0000
     1.2 +++ b/src/thread/pthread/SDL_systhread.c	Sat Sep 12 13:16:33 2009 +0000
     1.3 @@ -99,7 +99,7 @@
     1.4  /* WARNING:  This may not work for systems with 64-bit pid_t */
     1.5  Uint32 SDL_ThreadID(void)
     1.6  {
     1.7 -	return((Uint32)pthread_self());
     1.8 +	return((Uint32)((size_t)pthread_self()));
     1.9  }
    1.10  
    1.11  void SDL_SYS_WaitThread(SDL_Thread *thread)