mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-01-10 12:18:55 +00:00
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>
This commit is contained in:
parent
4743f02b8f
commit
fd37a0d04e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue