diff options
| author | Wolfgang Denk <[email protected]> | 2009-09-11 08:58:11 +0200 |
|---|---|---|
| committer | Tom Rix <[email protected]> | 2009-10-03 09:04:21 -0500 |
| commit | fd37a0d04e339267b5d2872e9e6ee6650f122367 (patch) | |
| tree | df7087591df2d0b82c1a450ae9fde5320f3be8c4 | |
| parent | 4743f02b8faacff4d1f0543889d2f550d7dec2d3 (diff) | |
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 <[email protected]>
Cc: Prafulla Wadaskar <[email protected]>
| -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 28dc2d605df..ee067cbd81d 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; } |
