Skip to content

Commit

Permalink
Converted a size_t to mz_uint that was being treated as an error (ass…
Browse files Browse the repository at this point in the history
…imp#5600)

Co-authored-by: Kim Kulling <[email protected]>
  • Loading branch information
BradlyLanducci and kimkulling authored Jun 10, 2024
1 parent 0d546b3 commit 8231d99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/zip/src/zip.c
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@ int zip_entry_openbyindex(struct zip_t *zip, size_t index) {
if (!(pHeader = &MZ_ZIP_ARRAY_ELEMENT(
&pZip->m_pState->m_central_dir, mz_uint8,
MZ_ZIP_ARRAY_ELEMENT(&pZip->m_pState->m_central_dir_offsets,
mz_uint32, index)))) {
mz_uint32, (mz_uint)index)))) {
// cannot find header in central directory
return ZIP_ENOHDR;
}
Expand Down

0 comments on commit 8231d99

Please sign in to comment.