--- 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)
--- a/src/SDL_error_c.h Fri May 12 04:18:32 2006 +0000
+++ b/src/SDL_error_c.h Fri May 12 04:21:19 2006 +0000
@@ -40,7 +40,7 @@
is not in the hashtable, or no hashtable is available, the key is
used directly as an error message format string.
*/
- unsigned char key[ERR_MAX_STRLEN];
+ char key[ERR_MAX_STRLEN];
/* These are the arguments for the error functions */
int argc;
@@ -51,7 +51,7 @@
#endif
int value_i;
double value_f;
- unsigned char buf[ERR_MAX_STRLEN];
+ char buf[ERR_MAX_STRLEN];
} args[ERR_MAX_ARGS];
} SDL_error;