diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2008-07-10 14:00:15 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-10 22:12:09 +0200 |
commit | 4109df6f75fc00ab7da56d286ba50149a0d16a69 (patch) | |
tree | f2f2bca858b24e5278a12044b8a7cc37131df8ef /common/cmd_flash.c | |
parent | 4b13860e746b65e796213f2c97de8a80db8b68be (diff) |
silence misc printf formatting compiler warnings
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'common/cmd_flash.c')
-rw-r--r-- | common/cmd_flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_flash.c b/common/cmd_flash.c index db5dec9049a..9bd8074bfb3 100644 --- a/common/cmd_flash.c +++ b/common/cmd_flash.c @@ -360,7 +360,7 @@ int do_flerase (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) addr_last = addr_first + part->size - 1; printf ("Erase Flash Parition %s, " - "bank %d, 0x%08lx - 0x%08lx ", + "bank %ld, 0x%08lx - 0x%08lx ", argv[1], bank, addr_first, addr_last); @@ -566,7 +566,7 @@ int do_protect (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) addr_last = addr_first + part->size - 1; printf ("%sProtect Flash Parition %s, " - "bank %d, 0x%08lx - 0x%08lx\n", + "bank %ld, 0x%08lx - 0x%08lx\n", p ? "" : "Un", argv[1], bank, addr_first, addr_last); |