src/stdlib/SDL_iconv.c
changeset 7719 31b5f9ff36ca
parent 7349 a96c85910792
child 8093 b43765095a6f
     1.1 --- a/src/stdlib/SDL_iconv.c	Thu Aug 29 08:27:25 2013 -0700
     1.2 +++ b/src/stdlib/SDL_iconv.c	Thu Aug 29 08:29:21 2013 -0700
     1.3 @@ -843,7 +843,7 @@
     1.4  int
     1.5  SDL_iconv_close(SDL_iconv_t cd)
     1.6  {
     1.7 -    if (cd && cd != (SDL_iconv_t) - 1) {
     1.8 +    if (cd != (SDL_iconv_t)-1) {
     1.9          SDL_free(cd);
    1.10      }
    1.11      return 0;