]> xenbits.xensource.com Git - qemu-xen-4.0-testing.git/commitdiff
Add missing cast for printf of maddr
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 22 Jul 2008 10:55:18 +0000 (11:55 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 22 Jul 2008 10:55:18 +0000 (11:55 +0100)
hw/pass-through.c

index 8333fc953caf4ae6a422788401eb013c1271be54..3da0e2dbb7172431149edb2fef431a912e6ef63a 100644 (file)
@@ -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 )