summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/parsers/scpart.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/parsers/scpart.c')
-rw-r--r--drivers/mtd/parsers/scpart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/parsers/scpart.c b/drivers/mtd/parsers/scpart.c
index 02601bb33de4..6e5e11c37078 100644
--- a/drivers/mtd/parsers/scpart.c
+++ b/drivers/mtd/parsers/scpart.c
@@ -50,7 +50,7 @@ static int scpart_scan_partmap(struct mtd_info *master, loff_t partmap_offs,
int cnt = 0;
int res = 0;
int res2;
- loff_t offs;
+ uint32_t offs;
size_t retlen;
struct sc_part_desc *pdesc = NULL;
struct sc_part_desc *tmpdesc;