diff options
author | Kelvin Zhang <zhangkelvin@google.com> | 2020-09-16 20:06:12 +0200 |
---|---|---|
committer | Kelvin Zhang <zhangkelvin@google.com> | 2020-09-16 20:21:37 +0200 |
commit | 4f81130039f6a312eba2027b3594a2be282f6b3a (patch) | |
tree | 8a910b26d07884180bcef5f5f48781ae642cf99e /updater/target_files.cpp | |
parent | Merge "Merge Android R" (diff) | |
download | android_bootable_recovery-4f81130039f6a312eba2027b3594a2be282f6b3a.tar android_bootable_recovery-4f81130039f6a312eba2027b3594a2be282f6b3a.tar.gz android_bootable_recovery-4f81130039f6a312eba2027b3594a2be282f6b3a.tar.bz2 android_bootable_recovery-4f81130039f6a312eba2027b3594a2be282f6b3a.tar.lz android_bootable_recovery-4f81130039f6a312eba2027b3594a2be282f6b3a.tar.xz android_bootable_recovery-4f81130039f6a312eba2027b3594a2be282f6b3a.tar.zst android_bootable_recovery-4f81130039f6a312eba2027b3594a2be282f6b3a.zip |
Diffstat (limited to 'updater/target_files.cpp')
-rw-r--r-- | updater/target_files.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/updater/target_files.cpp b/updater/target_files.cpp index 919ec4e04..951923293 100644 --- a/updater/target_files.cpp +++ b/updater/target_files.cpp @@ -115,7 +115,7 @@ bool TargetFile::EntryExists(const std::string_view name) const { } CHECK(handle_); - ZipEntry img_entry; + ZipEntry64 img_entry; return FindEntry(handle_, name, &img_entry) == 0; } @@ -126,7 +126,7 @@ bool TargetFile::ReadEntryToString(const std::string_view name, std::string* con } CHECK(handle_); - ZipEntry entry; + ZipEntry64 entry; if (auto find_err = FindEntry(handle_, name, &entry); find_err != 0) { LOG(ERROR) << "failed to find " << name << " in the package: " << ErrorCodeString(find_err); return false; @@ -157,7 +157,7 @@ bool TargetFile::ExtractEntryToTempFile(const std::string_view name, } CHECK(handle_); - ZipEntry entry; + ZipEntry64 entry; if (auto find_err = FindEntry(handle_, name, &entry); find_err != 0) { LOG(ERROR) << "failed to find " << name << " in the package: " << ErrorCodeString(find_err); return false; |