Fix compiler warnings after loff_t change
PATCH 1/1 Fix compiler warnings after loff_t change
Now 'env_addr' type is loff_t so use correct field type.
Signed-off-by Kyungmin Park <[email protected]>
---
common/env_onenand.c +1 -1
@@ -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 ; }
Wolfgang Denk
AppliedPATCH 1/1 Fix compiler warnings after loff_t change
Dear Kyungmin Park,
Quoted 9 lines · In message <20090720004747.GA32595@july> you wrote:
Now '
env_addr' type isloff_tso use correct field type.Signed-off-by Kyungmin Park <[email protected]>---
common/env_onenand.c +0
-0
common/env_onenand.c int saveenv(void) · line 106
Quoted 7 lines
common/env_onenand.c +1
-1@@ -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 ; }
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Perl already has an IDE. It's called Unix.
-- Tom Christiansen in 375bd509 at cs.colorado.edu