From: Kyungmin Park Date: Mon, 20 Jul 2009 00:47:47 +0000 (+0900) Subject: Fix compiler warnings after loff_t change X-Git-Tag: v2025.01-rc5-pxa1908~21009 X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-logo.png?a=commitdiff_plain;h=48287792384a93d77d43aaaa1c06cac275bbe1bb;p=u-boot.git 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; }