diff options
author | Kyungmin Park <kmpark@infradead.org> | 2009-07-20 00:47:47 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-07-26 22:08:50 (GMT) |
commit | 48287792384a93d77d43aaaa1c06cac275bbe1bb (patch) | |
tree | bccb1c1dd500e1760ca785a8a985cacf78b6bf14 | |
parent | 9c67352f727a5b5eff531c852f9cff59fcb17f7f (diff) | |
download | u-boot-fsl-qoriq-48287792384a93d77d43aaaa1c06cac275bbe1bb.tar.xz |
Fix compiler warnings after loff_t change
Now 'env_addr' type is loff_t so use correct field type.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
-rw-r--r-- | common/env_onenand.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |