Skip to content

Commit

Permalink
Fixed compiler warning on 64-bit systems (but this is still broken, r…
Browse files Browse the repository at this point in the history
…eally).
  • Loading branch information
icculus committed Sep 12, 2009
1 parent b55445b commit 9c6ddbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thread/pthread/SDL_systhread.c
Expand Up @@ -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)
Expand Down

0 comments on commit 9c6ddbb

Please sign in to comment.