mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-22 23:28:11 +08:00
14 lines
803 B
Diff
14 lines
803 B
Diff
diff --git a/contrib/zip/src/miniz.h b/contrib/zip/src/miniz.h
|
|
index 2c27a94..8390dfd 100644
|
|
--- a/contrib/zip/src/miniz.h
|
|
+++ b/contrib/zip/src/miniz.h
|
|
@@ -5944,7 +5944,7 @@ mz_bool mz_zip_writer_add_file(mz_zip_archive *pZip, const char *pArchive_name,
|
|
const char *pSrc_filename, const void *pComment,
|
|
mz_uint16 comment_size, mz_uint level_and_flags,
|
|
mz_uint32 ext_attributes) {
|
|
- mz_uint uncomp_crc32 = MZ_CRC32_INIT, level, num_alignment_padding_bytes;
|
|
+ mz_uint uncomp_crc32 = MZ_CRC32_INIT, level=0, num_alignment_padding_bytes;
|
|
mz_uint16 method = 0, dos_time = 0, dos_date = 0;
|
|
time_t file_modified_time;
|
|
mz_uint64 local_dir_header_ofs, cur_archive_file_ofs, uncomp_size = 0,
|