diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-03-17 23:35:52 +0100 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-03-18 00:05:12 +0100 |
commit | 76b245c24c12feec2381c423de2f7ffe4b78d7f0 (patch) | |
tree | bf975c860dfe50d1b38682f465a2ac96a5ec8f55 /minzip | |
parent | am 4b6de1ba: am 026ebe02: Merge "Recovery 64-bit compile issues" (diff) | |
download | android_bootable_recovery-76b245c24c12feec2381c423de2f7ffe4b78d7f0.tar android_bootable_recovery-76b245c24c12feec2381c423de2f7ffe4b78d7f0.tar.gz android_bootable_recovery-76b245c24c12feec2381c423de2f7ffe4b78d7f0.tar.bz2 android_bootable_recovery-76b245c24c12feec2381c423de2f7ffe4b78d7f0.tar.lz android_bootable_recovery-76b245c24c12feec2381c423de2f7ffe4b78d7f0.tar.xz android_bootable_recovery-76b245c24c12feec2381c423de2f7ffe4b78d7f0.tar.zst android_bootable_recovery-76b245c24c12feec2381c423de2f7ffe4b78d7f0.zip |
Diffstat (limited to '')
-rw-r--r-- | minzip/SysUtil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/minzip/SysUtil.c b/minzip/SysUtil.c index c046a8cf2..ac6f5c33f 100644 --- a/minzip/SysUtil.c +++ b/minzip/SysUtil.c @@ -103,7 +103,7 @@ static int sysMapBlockFile(FILE* mapf, MemMapping* pMap) } } - if (fscanf(mapf, "%d %d\n%d\n", &size, &blksize, &range_count) != 3) { + if (fscanf(mapf, "%zu %u\n%u\n", &size, &blksize, &range_count) != 3) { LOGW("failed to parse block map header\n"); return -1; } |