[U-Boot] [PATCH MAKEALL coldfire] fix tools/kwbimage.c format warning

2009-09-21 Thread Philippe De Muyter
Hi all, This fixes the following warnings when running MAKEALL for coldfire : tools/kwbimage.c: In function #kwbimage_checksum32#: tools/kwbimage.c:135: warning: format #%ld# expects type #long int#, but argument 4 has type #unsigned int# Signed-off-by: Philippe De Muyter p...@macqel.be

Re: [U-Boot] [PATCH MAKEALL coldfire] fix tools/kwbimage.c format warning

2009-09-21 Thread Wolfgang Denk
Dear Philippe De Muyter, In message 20090921200644.ga6...@frolo.macqel you wrote: Hi all, This fixes the following warnings when running MAKEALL for coldfire : tools/kwbimage.c: In function #kwbimage_checksum32#: tools/kwbimage.c:135: warning: format #%ld# expects type #long int#,

Re: [U-Boot] [PATCH MAKEALL coldfire] fix tools/kwbimage.c format warning

2009-09-21 Thread Wolfgang Denk
Dear Philippe De Muyter, In message 20090921202802.gb12...@frolo.macqel you wrote: if (len % sizeof(uint32_t)) { - printf (Error:%s[%d] - lenght is not in multiple of %ld\n, + printf (Error:%s[%d] - length is not in multiple of %u\n, __FUNCTION__,

Re: [U-Boot] [PATCH MAKEALL coldfire] fix tools/kwbimage.c format warning

2009-09-21 Thread Philippe De Muyter
Dear Wolfgang, On Mon, Sep 21, 2009 at 10:53:13PM +0200, Wolfgang Denk wrote: Seems you are using old code. This has long been fixed (using a %zu format). That's surprising. I got a tarball last friday (3 days ago) using the snapshot button on the gitweb interface :