Commit 53feec15 authored by Rye Mutt's avatar Rye Mutt 🍞
Browse files

Merge branch 'vendor'

parents bdbb1861 79c13e59
Pipeline #1290 passed with stages
in 1 minute and 18 seconds
......@@ -66,7 +66,7 @@ endif()
enable_language(C)
# Library version
set(VERSION "3.0.3")
set(VERSION "3.0.4")
# API version
set(SOVERSION "3")
......
# minizip-ng 3.0.3
# minizip-ng 3.0.4
minizip-ng is a zip manipulation library written in C that is supported on Windows, macOS, and Linux.
......
......@@ -14,8 +14,8 @@
/***************************************************************************/
/* MZ_VERSION */
#define MZ_VERSION ("3.0.3")
#define MZ_VERSION_BUILD (030003)
#define MZ_VERSION ("3.0.4")
#define MZ_VERSION_BUILD (030004)
/* MZ_ERROR */
#define MZ_OK (0) /* zlib */
......
......@@ -1119,7 +1119,7 @@ static int32_t mz_zip_write_cd(void *handle) {
}
/* Write the ZIP64 central directory header */
if (zip->cd_offset >= UINT32_MAX || zip->number_entry > UINT16_MAX) {
if (zip->cd_offset >= UINT32_MAX || zip->number_entry >= UINT16_MAX) {
zip64_eocd_pos_inzip = mz_stream_tell(zip->stream);
err = mz_stream_write_uint32(zip->stream, MZ_ZIP_MAGIC_ENDHEADER64);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment