src/SDL_error.c
changeset 1824 e25445333ccf
parent 1818 7995cc87b777
child 1847 845bcffc0dd8
     1.1 --- a/src/SDL_error.c	Fri May 12 04:18:32 2006 +0000
     1.2 +++ b/src/SDL_error.c	Fri May 12 04:21:19 2006 +0000
     1.3 @@ -188,7 +188,7 @@
     1.4  {
     1.5  	static char errmsg[SDL_ERRBUFIZE];
     1.6  
     1.7 -	return((char *)SDL_GetErrorMsg((unsigned char *)errmsg, SDL_ERRBUFIZE));
     1.8 +	return((char *)SDL_GetErrorMsg(errmsg, SDL_ERRBUFIZE));
     1.9  }
    1.10  
    1.11  void SDL_ClearError(void)