From 450b4c5cf434f35a45a1ff9dd6fc634fd777d712 Mon Sep 17 00:00:00 2001 From: bde Date: Tue, 19 Mar 1996 15:03:00 +0000 Subject: Fixed unsigned longs that should have been vm_offset_t. vm_offset_t is currently unsigned long but should probably be plain unsigned for i386's to match the choice of minimal types to represent for fixed-width types in Lite2. Anyway, it shouldn't be assumed to be unsigned long. I only fixed the type mismatches that were detected when I changed vm_offset_t to unsigned. Only pointer type mismatches were detected. --- sys/pci/meteor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/pci/meteor.c') diff --git a/sys/pci/meteor.c b/sys/pci/meteor.c index 6059566..afb37dd 100644 --- a/sys/pci/meteor.c +++ b/sys/pci/meteor.c @@ -885,7 +885,7 @@ met_attach(pcici_t tag, int unit) mtr = &meteor[unit]; mtr->tag = tag; - pci_map_mem(tag, PCI_MAP_REG_START, (u_long *)&mtr->base, + pci_map_mem(tag, PCI_MAP_REG_START, (vm_offset_t *)&mtr->base, &mtr->phys_base); #ifdef METEOR_IRQ /* from the configuration file */ -- cgit v1.1