--- TSC-git-92d74ff7f.old/cegui/cegui/src/MinizipResourceProvider.cpp +++ TSC-git-92d74ff7f/cegui/cegui/src/MinizipResourceProvider.cpp @@ -132,7 +132,7 @@ //----------------------------------------------------------------------------// void MinizipResourceProvider::closeArchive() { - if (unzClose(d_pimpl->d_zfile) != Z_OK) + if (unzClose(d_pimpl->d_zfile) != MZ_OK) { // do not throw an exception as this method is called from the destructor! if (CEGUI::Logger::getSingletonPtr()) @@ -183,7 +183,7 @@ "' error reading file header")); } - if (unzOpenCurrentFile(d_pimpl->d_zfile) != Z_OK) + if (unzOpenCurrentFile(d_pimpl->d_zfile) != MZ_OK) { CEGUI_THROW(FileIOException("'" + final_filename + "' error opening file"));