minzip: 64 bit build issue
Regression - verification and extraction on memory, not files Bug: 12188746 Change-Id: Ib6facc4aff6be3a31a7d184ef1c493fdd4012c21
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user