Index: zopen.c =================================================================== RCS file: /cvsroot/src/sbin/savecore/zopen.c,v retrieving revision 1.3 diff -u -r1.3 zopen.c --- zopen.c 25 Dec 2012 09:24:45 -0000 1.3 +++ zopen.c 10 Jan 2017 04:18:47 -0000 @@ -35,7 +35,7 @@ return NULL; if(*mode == 'r') - return funopen(gz, xgzread, NULL, NULL, gzclose); + return funopen(gz, xgzread, NULL, NULL, (int (*)(void *))gzclose); else - return funopen(gz, NULL, xgzwrite, NULL, gzclose); + return funopen(gz, NULL, xgzwrite, NULL, (int (*)(void *))gzclose); }