am b7b92ae2: Merge "Fix build."
* commit 'b7b92ae22c172bbeb7af0d1e1efea9ee24976460':
Fix build.
diff --git a/libziparchive/zip_archive.cc b/libziparchive/zip_archive.cc
index a30b9a0..df5e3bd 100644
--- a/libziparchive/zip_archive.cc
+++ b/libziparchive/zip_archive.cc
@@ -382,9 +382,9 @@
const off64_t dir_offset = get4LE(eocd_ptr + kEOCDFileOffset);
const uint16_t comment_length = get2LE(eocd_ptr + kEOCDCommentLen);
- if (eocd_offset + comment_length + kEOCDCommentOffset != file_length) {
+ if (eocd_offset + comment_length + kEOCDComment != file_length) {
ALOGW("Zip: %" PRId64 " extraneous bytes at the end of the central directory",
- (int64_t) (file_length - (eocd_offset + comment_length + kEOCDCommentOffset)));
+ (int64_t) (file_length - (eocd_offset + comment_length + kEOCDComment)));
return kInvalidFile;
}