diff --git a/fceu2.1.4a/src/file.cpp b/fceu2.1.4a/src/file.cpp index e3787b1..a768598 100755 --- a/fceu2.1.4a/src/file.cpp +++ b/fceu2.1.4a/src/file.cpp @@ -310,7 +310,7 @@ FCEUFILE * FCEU_fopen(const char *path, const char *ipsfn, char *mode, char *ext if(magic==0x088b1f) { // maybe gzip... - void* gzfile = gzopen(fileToOpen.c_str(),"rb"); + gzFile gzfile = gzopen(fileToOpen.c_str(),"rb"); if(gzfile) { delete fp;