diff options
author | fsmp <fsmp@FreeBSD.org> | 1997-08-21 07:35:23 +0000 |
---|---|---|
committer | fsmp <fsmp@FreeBSD.org> | 1997-08-21 07:35:23 +0000 |
commit | d4c3e294fb3bd790657203960c0aa0f72bbf22e3 (patch) | |
tree | dc2ac439f3a93be2b4e3ed1ec04431d26f00a70a /sys/dev/vx | |
parent | dfd8a56d45857ac85826a069edc6965635664315 (diff) | |
download | FreeBSD-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.c | 2 |
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 = { |