juce_ZipFile.cpp - fixed reporting for large file sizes (ZIP64)

I am working with large .zip files - and noticed that the ZipFile class does not correctly interpret ZIP64 header information for large files - specifically the uncompressed size is not reported correctly if over 32-bits - however the field in ZipFile::ZipEntry is specified as 64-bits.

My quick/dirty fix is in the attached juce_ZipFile.cpp (23.0 KB) file (modified from JUCE 5.4.7). There is some error checking on size that is not implemented in this fix.

Enjoy!
Don

1 Like