diff options
author | Wolfgang Denk <wd@denx.de> | 2009-09-11 08:58:11 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-09-11 09:11:03 +0200 |
commit | 51003b89816848cbe86a8fe48f970ba8b14005f5 (patch) | |
tree | 8d2951a2906520f3199b2d55f479db5bc7422f9f /tools | |
parent | e7963772eb78a6aa1fa65063d64eab3a8626daac (diff) | |
download | bootable_bootloader_goldelico_gta04-51003b89816848cbe86a8fe48f970ba8b14005f5.zip bootable_bootloader_goldelico_gta04-51003b89816848cbe86a8fe48f970ba8b14005f5.tar.gz bootable_bootloader_goldelico_gta04-51003b89816848cbe86a8fe48f970ba8b14005f5.tar.bz2 |
kwbimage.c: Fix compile warning when building on 64 bit systems
Fix this warning when building on 64 bit systems:
tools/kwbimage.c: In function 'kwbimage_checksum32':
tools/kwbimage.c:135: warning: format '%d' expects type 'int',
but argument 4 has type 'long unsigned int'
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Prafulla Wadaskar <prafulla@marvell.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/kwbimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/kwbimage.c b/tools/kwbimage.c index 28dc2d6..ee067cb 100644 --- a/tools/kwbimage.c +++ b/tools/kwbimage.c @@ -131,7 +131,7 @@ static uint32_t kwbimage_checksum32 (uint32_t *start, uint32_t len, uint32_t csu return 0; if (len % sizeof(uint32_t)) { - printf ("Error:%s[%d] - lenght is not in multiple of %d\n", + printf ("Error:%s[%d] - lenght is not in multiple of %ld\n", __FUNCTION__, len, sizeof(uint32_t)); return 0; } |