Skip to content

Commit 6c05660

Browse files
author
Nick Shaheed
committed
move to unzOpen64
1 parent 4035992 commit 6c05660

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ chump_lib_sources = [
1111
nlohmann_json_dep = subproject('nlohmann_json').get_variable('nlohmann_json_dep')
1212
openssl_dep = subproject('openssl', default_options: ['prefer_static=true'], required: true).get_variable('openssl_dep')
1313
libcurl_dep = subproject('curl', default_options: ['prefer_static=true'], required: true).get_variable('curl_dep')
14-
minizip_dep = subproject('minizip-ng', required: true).get_variable('minizip_ng_dep')
14+
minizip_dep = subproject('minizip-ng', default_options: ['prefer_static=true'], required: true).get_variable('minizip_ng_dep')
1515

1616
cheaders_proj = subproject('cheaders')
1717
cheaders_dep = cheaders_proj.get_variable('cheaders_dep')

src/util.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ fs::path fileTypeToDir(FileType f) {
216216
}
217217

218218
bool unzipFile(const std::string &zipPath, const std::string &outputDir) {
219-
unzFile zipFile = unzOpen(zipPath.c_str());
219+
unzFile zipFile = unzOpen64(zipPath.c_str());
220220
if (zipFile == nullptr) {
221221
std::cerr << "[chump]: error opening ZIP file: " << zipPath << std::endl;
222222
return false;

0 commit comments

Comments
 (0)