Fixed signed/unsigned issues
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401785
This commit is contained in:
parent
9e91188591
commit
8aa4c7fdb9
2 changed files with 3 additions and 3 deletions
|
@ -188,7 +188,7 @@ char *SDL_GetError (void)
|
|||
{
|
||||
static char errmsg[SDL_ERRBUFIZE];
|
||||
|
||||
return((char *)SDL_GetErrorMsg((unsigned char *)errmsg, SDL_ERRBUFIZE));
|
||||
return((char *)SDL_GetErrorMsg(errmsg, SDL_ERRBUFIZE));
|
||||
}
|
||||
|
||||
void SDL_ClearError(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue