]> git.sur5r.net Git - u-boot/commitdiff
Fix compiler warnings after loff_t change
authorKyungmin Park <kmpark@infradead.org>
Mon, 20 Jul 2009 00:47:47 +0000 (09:47 +0900)
committerWolfgang Denk <wd@denx.de>
Sun, 26 Jul 2009 22:08:50 +0000 (00:08 +0200)
Now 'env_addr' type is loff_t so use correct field type.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
common/env_onenand.c

index 476fdbce2252a6e34e150d4244efbcd049f0de68..dcf09dee1bcf9d3162ef20974677e5ed98a72752 100644 (file)
@@ -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;
        }