[U-Boot] [PATCH] [OneNAND] Fix compiler warnings after loff_t change
Kyungmin Park
kmpark at infradead.org
Mon Jul 20 02:47:47 CEST 2009
Now 'env_addr' type is loff_t so use correct field type.
Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
---
diff --git a/common/env_onenand.c b/common/env_onenand.c
index 476fdbc..dcf09de 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;
}
More information about the U-Boot
mailing list