From: Guus Sliepen Date: Sun, 7 Jul 2013 16:55:29 +0000 (+0200) Subject: Don't use gzclose() on a FILE *. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d19db24df5e8546fd1a9b34a5789c5fb8cee94cc;p=quix0rs-blobwars.git Don't use gzclose() on a FILE *. --- diff --git a/src/pak.cpp b/src/pak.cpp index 226afe4..16beab2 100644 --- a/src/pak.cpp +++ b/src/pak.cpp @@ -119,7 +119,7 @@ void recurseDirectory(const char *dirName) { printf("Couldn't open %s for reading!\n", filename); closedir(dirp); - gzclose(pak); + fclose(pak); exit(1); } @@ -141,7 +141,7 @@ void recurseDirectory(const char *dirName) { printf("Couldn't open %s for reading!\n", filename); closedir(dirp); - gzclose(pak); + fclose(pak); exit(1); } else