Set correct offset to the beginning of end of CD record

This commit is contained in:
Timofey Solomko
2017-07-16 10:59:49 +03:00
parent dbfdcb5c58
commit ffe8be6d37
+1 -1
View File
@@ -52,7 +52,7 @@ struct ZipEndOfCentralDirectory {
if zip64RecordExists { // We need to find Zip64 end of CD locator.
// Back to start of end of CD record.
pointerData.index -= 22
pointerData.index -= 20
// Zip64 locator takes exactly 20 bytes.
pointerData.index -= 20