freebsd-ports/audio/playgsf/files/patch-VBA_Util.cpp

13 lines
500 B
C++
Raw Normal View History

--- VBA/Util.cpp.orig 2016-07-26 15:40:39 UTC
+++ VBA/Util.cpp
@@ -1484,7 +1484,8 @@ void utilWriteData(gzFile gzFile, variab
gzFile utilGzOpen(const char *file, const char *mode)
{
- utilGzWriteFunc = (int (ZEXPORT *)(void *,void * const, unsigned int))gzwrite;
+ // utilGzWriteFunc = (int (ZEXPORT *)(void *,void * const, unsigned int))gzwrite;
+ utilGzWriteFunc = (int (ZEXPORT *)(gzFile_s*, void * const, unsigned int))gzwrite;
utilGzReadFunc = gzread;
utilGzCloseFunc = gzclose;