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#, but > argument 4 has type #unsigned int# > > Signed-off-by: Philippe De Muyter <p...@macqel.be> > > diff -ru a/tools/kwbimage.c b/tools/kwbimage.c > --- a/tools/kwbimage.c 2009-09-17 23:28:31.000000000 +0200 > +++ b/tools/kwbimage.c 2009-09-21 19:40:19.000000000 +0200 > @@ -131,7 +131,7 @@ > return 0; > > 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__, len, sizeof(uint32_t));
Seems you are using old code. This has long been fixed (using a %zu format). Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de Men don't talk peace unless they're ready to back it up with war. -- Col. Green, "The Savage Curtain", stardate 5906.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot