public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] kwbimage.c: Fix compile warning when building on 64 bit systems
@ 2009-09-11  9:18 Wolfgang Denk
  2009-09-11  9:18 ` [U-Boot] [PATCH] net/bootp.c: fix compile warning Wolfgang Denk
                   ` (6 more replies)
  0 siblings, 7 replies; 21+ messages in thread
From: Wolfgang Denk @ 2009-09-11  9:18 UTC (permalink / raw)
  To: u-boot

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>
---
 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;
 	}
-- 
1.6.0.6

^ permalink raw reply related	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2009-09-18 21:24 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-11  9:18 [U-Boot] [PATCH] kwbimage.c: Fix compile warning when building on 64 bit systems Wolfgang Denk
2009-09-11  9:18 ` [U-Boot] [PATCH] net/bootp.c: fix compile warning Wolfgang Denk
2009-09-14 22:15   ` Wolfgang Denk
2009-09-11  9:18 ` [U-Boot] [PATCH] board/flagadm/flash.c: " Wolfgang Denk
2009-09-11 16:33   ` Scott Wood
2009-09-11 18:10     ` Wolfgang Denk
2009-09-11 18:28       ` Scott Wood
2009-09-14 22:09         ` [U-Boot] [PATCH v2] " Wolfgang Denk
2009-09-18 21:24           ` Wolfgang Denk
2009-09-11  9:18 ` [U-Boot] [PATCH] drivers/net/natsemi.c: " Wolfgang Denk
2009-09-14 22:10   ` Wolfgang Denk
2009-09-11  9:18 ` [U-Boot] [PATCH] sk98lin: fix compile warnings Wolfgang Denk
2009-09-14 22:11   ` Wolfgang Denk
2009-09-11  9:18 ` [U-Boot] [PATCH] board/esd/common/flash.c: Fix compile warning Wolfgang Denk
2009-09-11 11:24   ` Matthias Fuchs
2009-09-11 13:05   ` Stefan Roese
2009-09-14 22:12   ` Wolfgang Denk
2009-09-11  9:18 ` [U-Boot] [PATCH] board/esd/cpci750/ide.c: fix " Wolfgang Denk
2009-09-11 13:10   ` Stefan Roese
2009-09-14 22:13   ` Wolfgang Denk
2009-09-14 21:33 ` [U-Boot] [PATCH] kwbimage.c: Fix compile warning when building on 64 bit systems Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox