--- fceu2.1.5.orig/src/file.cpp 2010-09-18 19:05:09.000000000 -0500 +++ fceu2.1.5/src/file.cpp 2012-12-19 10:47:44.065106719 -0500 @@ -310,7 +310,7 @@ if(magic==0x088b1f) { // maybe gzip... - void* gzfile = gzopen(fileToOpen.c_str(),"rb"); + gzFile gzfile = gzopen(fileToOpen.c_str(),"rb"); if(gzfile) { delete fp;