[U-Boot] [PATCH 01/19] pci: Correct cast for sandbox

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


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 at chromium.org>
---

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

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


More information about the U-Boot mailing list