Mercurial > sdl-ios-xcode
changeset 1824:e25445333ccf
Fixed signed/unsigned issues
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 12 May 2006 04:21:19 +0000 |
parents | d2b0f8b18ab8 |
children | f255c6bee184 |
files | src/SDL_error.c src/SDL_error_c.h |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
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)
--- 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;