From: Michael Brown Date: Wed, 20 Dec 2006 00:34:53 +0000 (+0000) Subject: Remove warning (at least on platforms with uint32_t == unsigned long). X-Git-Tag: mcb-xen-demo~316 X-Git-Url: http://git.etherboot.org/people/xl0/gpxe.git/commitdiff_plain/9f953322a10c2c7d43301ebf787ef535df131619 Remove warning (at least on platforms with uint32_t == unsigned long). --- diff --git a/src/drivers/bus/pci.c b/src/drivers/bus/pci.c index 2406b130..c8dbb35d 100644 --- a/src/drivers/bus/pci.c +++ b/src/drivers/bus/pci.c @@ -64,7 +64,7 @@ static unsigned long pci_bar ( struct pci_device *pci, unsigned int reg ) { if ( sizeof ( unsigned long ) > sizeof ( uint32_t ) ) { return ( ( ( uint64_t ) high << 32 ) | low ); } else { - DBG ( "Unhandled 64-bit BAR %08x%08x\n", + DBG ( "Unhandled 64-bit BAR %08lx%08lx\n", high, low ); return PCI_BASE_ADDRESS_MEM_TYPE_64; }