am 2de01f5a: Merge "libziparchive: fix extraction of >2GiB images"

* commit '2de01f5a99f916c36124c6bc8cb0d6f18df03496':
  libziparchive: fix extraction of >2GiB images
This commit is contained in:
Greg Hackmann 2015-03-23 21:45:34 +00:00 committed by Android Git Automerger
commit 91080a4296

View file

@ -1123,7 +1123,7 @@ int32_t ExtractToMemory(ZipArchiveHandle handle,
int32_t ExtractEntryToFile(ZipArchiveHandle handle,
ZipEntry* entry, int fd) {
const int32_t declared_length = entry->uncompressed_length;
const uint32_t declared_length = entry->uncompressed_length;
const off64_t current_offset = lseek64(fd, 0, SEEK_CUR);
if (current_offset == -1) {