]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: Correct cast for sandbox
authorSimon Glass <sjg@chromium.org>
Sat, 27 May 2017 13:38:12 +0000 (07:38 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 2 Jun 2017 16:16:46 +0000 (10:16 -0600)
commit84d7f9168b14a5a822cf0511a8ab1f7788a4d38b
tree60e523fb72587b4d55fc920ff215a5c89c265dd8
parentcf2064d7851a8d43ebaa55d356b768bfa5c8aebe
pci: Correct cast for sandbox

This gives a warning with some native compilers:

cmd/pci.c:152:11: warning: format ‘%llx’ expects argument of type
   ‘long long unsigned int’, but argument 3 has type
   ‘u64 {aka long unsigned int}’ [-Wformat=]

Fix it with a cast.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/pci.c