diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-03-17 15:35:52 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-03-17 16:05:12 -0700 |
commit | 76b245c24c12feec2381c423de2f7ffe4b78d7f0 (patch) | |
tree | bf975c860dfe50d1b38682f465a2ac96a5ec8f55 /minzip | |
parent | 679baa06b79e0c9100ce05fa0191928fc2a691fb (diff) | |
download | bootable_recovery-76b245c24c12feec2381c423de2f7ffe4b78d7f0.zip bootable_recovery-76b245c24c12feec2381c423de2f7ffe4b78d7f0.tar.gz bootable_recovery-76b245c24c12feec2381c423de2f7ffe4b78d7f0.tar.bz2 |
minzip: 64 bit build issue
Regression - verification and extraction on memory, not files
Bug: 12188746
Change-Id: Ib6facc4aff6be3a31a7d184ef1c493fdd4012c21
Diffstat (limited to 'minzip')
-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 c046a8c..ac6f5c3 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; } |