summaryrefslogtreecommitdiffstats
path: root/sys/dev/vx
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-08-21 07:35:23 +0000
committerfsmp <fsmp@FreeBSD.org>1997-08-21 07:35:23 +0000
commitd4c3e294fb3bd790657203960c0aa0f72bbf22e3 (patch)
treedc2ac439f3a93be2b4e3ed1ec04431d26f00a70a /sys/dev/vx
parentdfd8a56d45857ac85826a069edc6965635664315 (diff)
downloadFreeBSD-src-d4c3e294fb3bd790657203960c0aa0f72bbf22e3.zip
FreeBSD-src-d4c3e294fb3bd790657203960c0aa0f72bbf22e3.tar.gz
Add a cast to eliminate a compiler warning.
Diffstat (limited to 'sys/dev/vx')
-rw-r--r--sys/dev/vx/if_vx_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vx/if_vx_pci.c b/sys/dev/vx/if_vx_pci.c
index b667b89..d230d93 100644
--- a/sys/dev/vx/if_vx_pci.c
+++ b/sys/dev/vx/if_vx_pci.c
@@ -126,7 +126,7 @@ vx_pci_attach(
*/
at_shutdown(vx_pci_shutdown, sc, SHUTDOWN_POST_SYNC);
- pci_map_int(config_id, vxintr, (void *) sc, &net_imask);
+ pci_map_int(config_id, (pci_inthand_t*)vxintr, (void *) sc, &net_imask);
}
static struct pci_device vxdevice = {
OpenPOWER on IntegriCloud