src/file/SDL_rwops.c
changeset 2161 e635db5b45ef
parent 2160 00adbaed3910
child 2164 d083a2e4433d
     1.1 --- a/src/file/SDL_rwops.c	Tue Jul 10 05:25:19 2007 +0000
     1.2 +++ b/src/file/SDL_rwops.c	Tue Jul 10 05:29:56 2007 +0000
     1.3 @@ -124,7 +124,7 @@
     1.4          return -2;              /* failed (CreateFile) */
     1.5      }
     1.6      context->hidden.win32io.h = h;
     1.7 -    context->hidden.win32io.append = a_mode;
     1.8 +    context->hidden.win32io.append = a_mode ? SDL_TRUE : SDL_FALSE;
     1.9  
    1.10      return 0;                   /* ok */
    1.11  }
    1.12 @@ -455,7 +455,7 @@
    1.13  
    1.14  #ifdef HAVE_STDIO_H
    1.15  SDL_RWops *
    1.16 -SDL_RWFromFP(FILE * fp, int autoclose)
    1.17 +SDL_RWFromFP(FILE * fp, SDL_bool autoclose)
    1.18  {
    1.19      SDL_RWops *rwops = NULL;
    1.20