From: Kyungmin Park Date: Mon, 20 Jul 2009 00:47:47 +0000 (+0900) Subject: Fix compiler warnings after loff_t change X-Git-Tag: v2009.08-rc1~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=48287792384a93d77d43aaaa1c06cac275bbe1bb;p=u-boot Fix compiler warnings after loff_t change Now 'env_addr' type is loff_t so use correct field type. Signed-off-by: Kyungmin Park --- diff --git a/common/env_onenand.c b/common/env_onenand.c index 476fdbce22..dcf09dee1b 100644 --- a/common/env_onenand.c +++ b/common/env_onenand.c @@ -101,7 +101,7 @@ int saveenv(void) instr.addr = env_addr; instr.mtd = mtd; if (mtd->erase(mtd, &instr)) { - printf("OneNAND: erase failed at 0x%08lx\n", env_addr); + printf("OneNAND: erase failed at 0x%08llx\n", env_addr); return 1; }