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

2017-05-02 Thread sjg
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 --- cmd/pci.c | 3 ++- 1 file cha

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

2017-04-16 Thread Simon Glass
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 --- cmd/pci.c | 3 ++- 1 file cha