diff options
author | Kelvin Zhang <zhangkelvin@google.com> | 2020-09-17 02:50:21 +0200 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-09-17 02:50:21 +0200 |
commit | a973d68fcb0a1538200d562d2ce245237ea0ccda (patch) | |
tree | 8a910b26d07884180bcef5f5f48781ae642cf99e /install/wipe_device.cpp | |
parent | Merge mainline-release 6664920 to stage-aosp-master - DO NOT MERGE (diff) | |
parent | Merge "Switch to zip64 in recovery" (diff) | |
download | android_bootable_recovery-a973d68fcb0a1538200d562d2ce245237ea0ccda.tar android_bootable_recovery-a973d68fcb0a1538200d562d2ce245237ea0ccda.tar.gz android_bootable_recovery-a973d68fcb0a1538200d562d2ce245237ea0ccda.tar.bz2 android_bootable_recovery-a973d68fcb0a1538200d562d2ce245237ea0ccda.tar.lz android_bootable_recovery-a973d68fcb0a1538200d562d2ce245237ea0ccda.tar.xz android_bootable_recovery-a973d68fcb0a1538200d562d2ce245237ea0ccda.tar.zst android_bootable_recovery-a973d68fcb0a1538200d562d2ce245237ea0ccda.zip |
Diffstat (limited to 'install/wipe_device.cpp')
-rw-r--r-- | install/wipe_device.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/wipe_device.cpp b/install/wipe_device.cpp index 89d5d31a3..0f896c43b 100644 --- a/install/wipe_device.cpp +++ b/install/wipe_device.cpp @@ -49,7 +49,7 @@ std::vector<std::string> GetWipePartitionList(Package* wipe_package) { constexpr char RECOVERY_WIPE_ENTRY_NAME[] = "recovery.wipe"; std::string partition_list_content; - ZipEntry entry; + ZipEntry64 entry; if (FindEntry(zip, RECOVERY_WIPE_ENTRY_NAME, &entry) == 0) { uint32_t length = entry.uncompressed_length; partition_list_content = std::string(length, '\0'); |