]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd_fdt.c: Use %p when printing pointers
authorTom Rini <trini@ti.com>
Mon, 29 Oct 2012 14:53:18 +0000 (14:53 +0000)
committerTom Rini <trini@ti.com>
Fri, 2 Nov 2012 22:13:29 +0000 (15:13 -0700)
commit085b9c3a1dfa3f29cf2bb34f434be318ba313f57
treee18d1cf6652dcbe558a48daeb4d30c088de0c0a7
parenta1b231cef634d8aaa002bcb848332785803127c8
cmd_fdt.c: Use %p when printing pointers

When putting pointers into a format string use %p to ensure that they
are printed correctly regardless of bitsize.  This fixes warnings on
sandbox on 64bit systems.

Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Gerald Van Baren <vanbaren@cideas.com>
Signed-off-by: Tom Rini <trini@ti.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
common/cmd_fdt.c