Commit ec866d8b authored by Ryan C. Gordon's avatar Ryan C. Gordon

Fixed compiler warning on 64-bit systems (but this is still broken, really).

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403795
parent 4f6a3faf
...@@ -99,7 +99,7 @@ void SDL_SYS_SetupThread(void) ...@@ -99,7 +99,7 @@ void SDL_SYS_SetupThread(void)
/* WARNING: This may not work for systems with 64-bit pid_t */ /* WARNING: This may not work for systems with 64-bit pid_t */
Uint32 SDL_ThreadID(void) Uint32 SDL_ThreadID(void)
{ {
return((Uint32)pthread_self()); return((Uint32)((size_t)pthread_self()));
} }
void SDL_SYS_WaitThread(SDL_Thread *thread) void SDL_SYS_WaitThread(SDL_Thread *thread)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment