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
This commit is contained in:
parent
4f6a3faff5
commit
ec866d8b96
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue