]> git.baikalelectronics.ru Git - uboot.git/commit
fdt: Correct cast for sandbox in fdtdec_setup_memory_size()
authorSimon Glass <sjg@chromium.org>
Sat, 27 May 2017 13:38:13 +0000 (07:38 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 2 Jun 2017 16:16:46 +0000 (10:16 -0600)
commite94d81c9c9c10504be5c4c6643c4369670824be2
treee05fa7b5b64686cda7254052df99228505f0c51c
parent572116bfd841ee09a7351175078be7963eff9bda
fdt: Correct cast for sandbox in fdtdec_setup_memory_size()

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@chromium.org>
lib/fdtdec.c