summaryrefslogtreecommitdiffstats
path: root/install/wipe_device.cpp
diff options
context:
space:
mode:
authorKelvin Zhang <zhangkelvin@google.com>2020-09-16 20:06:12 +0200
committerKelvin Zhang <zhangkelvin@google.com>2020-09-16 20:21:37 +0200
commit4f81130039f6a312eba2027b3594a2be282f6b3a (patch)
tree8a910b26d07884180bcef5f5f48781ae642cf99e /install/wipe_device.cpp
parentMerge "Merge Android R" (diff)
downloadandroid_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 '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');