From: Wolfgang Denk Date: Wed, 2 Sep 2009 08:21:20 +0000 (+0200) Subject: cmd_mtdparts.c: fix compiler warning in debug code X-Git-Tag: v2009.11-rc1~190 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=37daa77f3cafb5ec9a974eff3db2af4a0560a9ef;p=oweals%2Fu-boot.git 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 --- diff --git a/common/cmd_mtdparts.c b/common/cmd_mtdparts.c index 665995d16b..b375feaad1 100644 --- a/common/cmd_mtdparts.c +++ b/common/cmd_mtdparts.c @@ -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@0x%08lx\n", + DEBUGF("delete_partition: device = %s%d, partition %d = (%s) 0x%08x@0x%08x\n", MTD_DEV_TYPE(dev->id->type), dev->id->num, pnum, part->name, part->size, part->offset);