summaryrefslogtreecommitdiffstats
path: root/install/wipe_device.cpp
diff options
context:
space:
mode:
authorKelvin Zhang <zhangkelvin@google.com>2020-09-17 02:19:41 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-09-17 02:19:41 +0200
commita35202befd6460a30330d57e7e69564bc6fb29f9 (patch)
tree8a910b26d07884180bcef5f5f48781ae642cf99e /install/wipe_device.cpp
parentMerge "Merge Android R" (diff)
parentSwitch to zip64 in recovery (diff)
downloadandroid_bootable_recovery-a35202befd6460a30330d57e7e69564bc6fb29f9.tar
android_bootable_recovery-a35202befd6460a30330d57e7e69564bc6fb29f9.tar.gz
android_bootable_recovery-a35202befd6460a30330d57e7e69564bc6fb29f9.tar.bz2
android_bootable_recovery-a35202befd6460a30330d57e7e69564bc6fb29f9.tar.lz
android_bootable_recovery-a35202befd6460a30330d57e7e69564bc6fb29f9.tar.xz
android_bootable_recovery-a35202befd6460a30330d57e7e69564bc6fb29f9.tar.zst
android_bootable_recovery-a35202befd6460a30330d57e7e69564bc6fb29f9.zip
Diffstat (limited to 'install/wipe_device.cpp')
-rw-r--r--install/wipe_device.cpp2
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');