minzip: 64 bit build issue

Regression - verification and extraction on memory, not files

Bug: 12188746
Change-Id: Ib6facc4aff6be3a31a7d184ef1c493fdd4012c21
This commit is contained in:
Mark Salyzyn
2014-03-17 15:35:52 -07:00
parent 679baa06b7
commit 76b245c24c
+1 -1
View File
@@ -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;
}