]> git.dujemihanovic.xyz Git - u-boot.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)
commitc69380f85d9de706bada30fd08f6e95e475d12f1
treee05fa7b5b64686cda7254052df99228505f0c51c
parent84d7f9168b14a5a822cf0511a8ab1f7788a4d38b
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