Re: [kvm-unit-tests PATCH 2/6] lib/pci: fix BAR format strings

2017-01-12 Thread Paolo Bonzini
On 11/01/2017 17:28, Alex Bennée wrote: > Using %x as a format string is not portable across 32/64 bit builds. > Use explicit PRIx32 format strings like the 64 bit version above. > > Signed-off-by: Alex Bennée > --- > lib/pci.c | 4 ++-- > 1 file changed, 2

[kvm-unit-tests PATCH 2/6] lib/pci: fix BAR format strings

2017-01-11 Thread Alex Bennée
Using %x as a format string is not portable across 32/64 bit builds. Use explicit PRIx32 format strings like the 64 bit version above. Signed-off-by: Alex Bennée --- lib/pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pci.c b/lib/pci.c