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 | |
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')
-rw-r--r-- | sys/dev/vx/if_vx_pci.c | 2 | ||||
-rw-r--r-- | sys/pci/if_vx_pci.c | 2 |
2 files changed, 2 insertions, 2 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 = { diff --git a/sys/pci/if_vx_pci.c b/sys/pci/if_vx_pci.c index b667b89..d230d93 100644 --- a/sys/pci/if_vx_pci.c +++ b/sys/pci/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 = { |