src/SDL_error.c
changeset 1824 e25445333ccf
parent 1818 7995cc87b777
child 1847 845bcffc0dd8
--- a/src/SDL_error.c	Fri May 12 04:18:32 2006 +0000
+++ b/src/SDL_error.c	Fri May 12 04:21:19 2006 +0000
@@ -188,7 +188,7 @@
 {
 	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)