From b60475b7233cfc4a72702e467a8f2cf317c428ef Mon Sep 17 00:00:00 2001 From: toodemhard Date: Sat, 21 Sep 2024 20:24:42 +0100 Subject: [PATCH] Update minizip and fix unzipper.cpp --- extlibs/minizip | 2 +- src/unzipper.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extlibs/minizip b/extlibs/minizip index cee6d8c..fe5fedc 160000 --- a/extlibs/minizip +++ b/extlibs/minizip @@ -1 +1 @@ -Subproject commit cee6d8cbd4da70c48e9df1426607ff95b4f24fa6 +Subproject commit fe5fedc365f7824ada0cf9a84fb79b30d5fc97a8 diff --git a/src/unzipper.cpp b/src/unzipper.cpp index 64d5198..3e5e493 100644 --- a/src/unzipper.cpp +++ b/src/unzipper.cpp @@ -82,7 +82,7 @@ namespace ziputils if (isOpen()) { closeEntry(); - int err = unzLocateFile(zipFile_, filename.data(), nullptr); + int err = unzLocateFile(zipFile_, filename.data(), 0); if (err == UNZ_OK) { if (!password.empty())