summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--minzip/SysUtil.c2
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;
}