comparison 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
comparison
equal deleted inserted replaced
1823:d2b0f8b18ab8 1824:e25445333ccf
186 /* Available for backwards compatibility */ 186 /* Available for backwards compatibility */
187 char *SDL_GetError (void) 187 char *SDL_GetError (void)
188 { 188 {
189 static char errmsg[SDL_ERRBUFIZE]; 189 static char errmsg[SDL_ERRBUFIZE];
190 190
191 return((char *)SDL_GetErrorMsg((unsigned char *)errmsg, SDL_ERRBUFIZE)); 191 return((char *)SDL_GetErrorMsg(errmsg, SDL_ERRBUFIZE));
192 } 192 }
193 193
194 void SDL_ClearError(void) 194 void SDL_ClearError(void)
195 { 195 {
196 SDL_error *error; 196 SDL_error *error;