src/stdlib/SDL_malloc.c
changeset 2210 1de324fce4e8
parent 2203 fca1cdc673b2
child 2859 99210400e8b9
     1.1 --- a/src/stdlib/SDL_malloc.c	Mon Jul 23 01:11:52 2007 +0000
     1.2 +++ b/src/stdlib/SDL_malloc.c	Mon Jul 23 01:17:38 2007 +0000
     1.3 @@ -3692,8 +3692,7 @@
     1.4                          /* Prefer mremap, fall back to munmap */
     1.5                          if ((CALL_MREMAP(sp->base, sp->size, newsize, 0) !=
     1.6                               MFAIL)
     1.7 -                            || (CALL_MUNMAP(sp->base + newsize, extra) ==
     1.8 -                                0)) {
     1.9 +                            || (CALL_MUNMAP(sp->base + newsize, extra) == 0)) {
    1.10                              released = extra;
    1.11                          }
    1.12                      }