Update miniz to 2.10 with ZIP64 support

This commit is contained in:
baldurk
2019-10-14 14:06:42 +01:00
parent e371b5ab72
commit 6be0736d24
4 changed files with 8819 additions and 4893 deletions
+7 -1
View File
@@ -393,7 +393,13 @@ struct UpgradeCommand : public Command
*wfn = L'\\';
}
mz_zip_reader_extract_to_wfile(&zip, i, target.c_str(), 0);
FILE *target_file = NULL;
_wfopen_s(&target_file, target.c_str(), L"wb");
if(target_file)
{
mz_zip_reader_extract_to_cfile(&zip, i, target_file, 0);
fclose(target_file);
}
}
}
}