On Monday, September 26, 2011 20:10:53 Simon Glass wrote: > --- a/common/cmd_mem.c > +++ b/common/cmd_mem.c > > printf ("\nMem error @ 0x%08X: " > "found %08lX, expected %08lX\n", > - (uint)addr, readback, val); > + (uint)(uintptr_t)addr, readback, val);
could you change the printf format to %#p instead (and drop the casts completely for "addr") ? -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot