From: Ian Jackson Date: Tue, 22 Jul 2008 10:55:18 +0000 (+0100) Subject: Add missing cast for printf of maddr X-Git-Tag: xen-3.3.0-rc1~15 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=439836900dad41f66234d2a14981aa2a90d4d346;p=qemu-xen-3.3-testing.git Add missing cast for printf of maddr --- diff --git a/hw/pass-through.c b/hw/pass-through.c index 8333fc95..3da0e2db 100644 --- a/hw/pass-through.c +++ b/hw/pass-through.c @@ -819,7 +819,7 @@ void pt_iomem_map(PCIDevice *d, int i, uint32_t e_phys, uint32_t e_size, assigned_device->bases[i].e_size= e_size; PT_LOG("e_phys=%08x maddr=%lx type=%d len=%d index=%d first_map=%d\n", - e_phys, assigned_device->bases[i].access.maddr, + e_phys, (unsigned long)assigned_device->bases[i].access.maddr, type, e_size, i, first_map); if ( e_size == 0 )