Bah, add a missing cast.

This commit is contained in:
John Baldwin 2005-04-14 06:33:23 +00:00
parent 95b66e9e53
commit f781b7b493

View File

@ -510,7 +510,7 @@ ioapic_create(uintptr_t addr, int32_t apic_id, int intbase)
/* If it's version register doesn't seem to work, punt. */
if (value == 0xffffff) {
pmap_unmapdev(apic, IOAPIC_MEM_REGION);
pmap_unmapdev((vm_offset_t)apic, IOAPIC_MEM_REGION);
return (NULL);
}