forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[assimp] Fixup: add missing patchfile
- Loading branch information
1 parent
4971bb4
commit 9491c60
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/contrib/zip/src/miniz.h b/contrib/zip/src/miniz.h | ||
index 916fb1f..a7bc178 100644 | ||
--- a/contrib/zip/src/miniz.h | ||
+++ b/contrib/zip/src/miniz.h | ||
@@ -4420,7 +4420,7 @@ mz_bool mz_zip_writer_add_mem_ex(mz_zip_archive *pZip, const char *pArchive_name | ||
#ifndef MINIZ_NO_STDIO | ||
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_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, ext_attributes = 0; | ||
mz_uint64 local_dir_header_ofs, cur_archive_file_ofs, uncomp_size = 0, comp_size = 0; | ||
size_t archive_name_size; |