diff src/SDL_error.c @ 1824:e25445333ccf

Fixed signed/unsigned issues
author Sam Lantinga <slouken@libsdl.org>
date Fri, 12 May 2006 04:21:19 +0000
parents 7995cc87b777
children 845bcffc0dd8
line wrap: on
line diff
--- 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)