cmd_mtdparts.c: fix compiler warning in debug code
PATCH 1/1 cmd_mtdparts.c: fix compiler warning in debug code
Fix warning messages:
cmd_mtdparts.c:1429: warning: format '%08lx' expects type 'long unsigned int', but argument 6 has type 'u32' cmd_mtdparts.c:1429: warning: format '%08lx' expects type 'long unsigned int', but argument 7 has type 'u32'
Signed-off-by Wolfgang Denk <[email protected]>
--- common/cmd_mtdparts.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
common/cmd_mtdparts.c +1 -1
@@ -1336,7 +1336,7 @@ static int delete_partition(const char *id)if (find_dev_and_part (id, &dev, &pnum, &part) ==0 ) { -DEBUGF ("delete_partition: device = %s%d, partition %d = (%s) 0x%08lx at 0x%08lx\n" , +DEBUGF ("delete_partition: device = %s%d, partition %d = (%s) 0x%08x at 0x%08x\n" ,MTD_DEV_TYPE (dev->id->type), dev->id->num, pnum, part->name, part->size, part->offset);
Signature · 1 line
1.6.0.6
Wolfgang Denk
AppliedPATCH 1/1 cmd_mtdparts.c: fix compiler warning in debug code
Quoted 10 lines · In message <[email protected]> you wrote:
Fix warning messages:
cmd_mtdparts.c:1429: warning: format '%08lx' expects type 'long unsigned int', but argument 6 has type 'u32' cmd_mtdparts.c:1429: warning: format '%08lx' expects type 'long unsigned int', but argument 7 has type 'u32'Signed-off-by Wolfgang Denk <[email protected]>--- common/cmd_mtdparts.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied.
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 All he had was nothing, but that was something, and now it had been taken away. - Terry Pratchett, _Sourcery_