Skip to content
Permalink
Browse files

Fixed compiler warning on 64-bit systems (but this is still broken, r…

…eally).
  • Loading branch information
icculus committed Sep 12, 2009
1 parent b55445b commit 9c6ddbb14a192bd914cf9c53feb2eb4008d7c4fa
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/thread/pthread/SDL_systhread.c
@@ -99,7 +99,7 @@ void SDL_SYS_SetupThread(void)
/* WARNING: This may not work for systems with 64-bit pid_t */
Uint32 SDL_ThreadID(void)
{
return((Uint32)pthread_self());
return((Uint32)((size_t)pthread_self()));
}

void SDL_SYS_WaitThread(SDL_Thread *thread)

0 comments on commit 9c6ddbb

Please sign in to comment.