[U-Boot] [PATCH 02/19] fdt: Correct cast for sandbox in fdtdec_setup_memory_size()

sjg at google.com sjg at google.com
Tue May 2 11:27:31 UTC 2017


This gives a warning with some native compilers:

lib/fdtdec.c:1203:8: warning: format ‘%llx’ expects argument of type
   ‘long long unsigned int’, but argument 3 has type
   ‘long unsigned int’ [-Wformat=]

Fix it with a cast.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 lib/fdtdec.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Applied to u-boot-fdt/next, thanks!


More information about the U-Boot mailing list