diff options
Diffstat (limited to 'contrib/minizip/zip.c')
-rw-r--r-- | contrib/minizip/zip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/minizip/zip.c b/contrib/minizip/zip.c index e2e9da0..60bdffa 100644 --- a/contrib/minizip/zip.c +++ b/contrib/minizip/zip.c | |||
@@ -575,7 +575,7 @@ local ZPOS64_T zip64local_SearchCentralDir64(const zlib_filefunc64_32_def* pzlib | |||
575 | if (zip64local_getLong(pzlib_filefunc_def,filestream,&uL)!=ZIP_OK) | 575 | if (zip64local_getLong(pzlib_filefunc_def,filestream,&uL)!=ZIP_OK) |
576 | return 0; | 576 | return 0; |
577 | 577 | ||
578 | /* number of the disk with the start of the zip64 end of central directory */ | 578 | /* number of the disk with the start of the zip64 end of central directory */ |
579 | if (zip64local_getLong(pzlib_filefunc_def,filestream,&uL)!=ZIP_OK) | 579 | if (zip64local_getLong(pzlib_filefunc_def,filestream,&uL)!=ZIP_OK) |
580 | return 0; | 580 | return 0; |
581 | if (uL != 0) | 581 | if (uL != 0) |
@@ -1608,7 +1608,7 @@ extern int ZEXPORT zipCloseFileInZipRaw64(zipFile file, ZPOS64_T uncompressed_si | |||
1608 | 1608 | ||
1609 | if((uLong)(datasize + 4) > zi->ci.size_centralExtraFree) | 1609 | if((uLong)(datasize + 4) > zi->ci.size_centralExtraFree) |
1610 | { | 1610 | { |
1611 | // we can not write more data to the buffer that we have room for. | 1611 | // we cannot write more data to the buffer that we have room for. |
1612 | return ZIP_BADZIPFILE; | 1612 | return ZIP_BADZIPFILE; |
1613 | } | 1613 | } |
1614 | 1614 | ||