Explorar o código

Merge pull request #3591 from h3xx/fix-unzip-ftbfs

Fix build failure on Linux
Kim Kulling %!s(int64=4) %!d(string=hai) anos
pai
achega
d12b1e8d70
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      code/Common/ZipArchiveIOSystem.cpp

+ 1 - 1
code/Common/ZipArchiveIOSystem.cpp

@@ -152,7 +152,7 @@ zlib_filefunc_def IOSystem2Unzip::get(IOSystem *pIOHandler) {
     mapping.ztell_file = (tell_file_func)tell;
     mapping.zseek_file = (seek_file_func)seek;
     mapping.zclose_file = (close_file_func)close;
-    mapping.zerror_file = (error_file_func)testerror;
+    mapping.zerror_file = testerror;
 
     mapping.opaque = reinterpret_cast<voidpf>(pIOHandler);