Mercurial > sdl-ios-xcode
diff src/file/SDL_rwops.c @ 2161:e635db5b45ef
Oh yeah, they're boolean values...
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 10 Jul 2007 05:29:56 +0000 |
parents | 00adbaed3910 |
children | d083a2e4433d |
line wrap: on
line diff
--- a/src/file/SDL_rwops.c Tue Jul 10 05:25:19 2007 +0000 +++ b/src/file/SDL_rwops.c Tue Jul 10 05:29:56 2007 +0000 @@ -124,7 +124,7 @@ return -2; /* failed (CreateFile) */ } context->hidden.win32io.h = h; - context->hidden.win32io.append = a_mode; + context->hidden.win32io.append = a_mode ? SDL_TRUE : SDL_FALSE; return 0; /* ok */ } @@ -455,7 +455,7 @@ #ifdef HAVE_STDIO_H SDL_RWops * -SDL_RWFromFP(FILE * fp, int autoclose) +SDL_RWFromFP(FILE * fp, SDL_bool autoclose) { SDL_RWops *rwops = NULL;