aboutsummaryrefslogtreecommitdiff
path: root/sys/pci
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>1999-01-12 01:42:01 +0000
committerEivind Eklund <eivind@FreeBSD.org>1999-01-12 01:42:01 +0000
commite7ece4327116a8cb521dc619c7eb582e9e9ae31a (patch)
tree378591f72ddb81634be7d0e24d94d92ab085d540 /sys/pci
parent38acda90bad7bfcbb7143ded63c03fea3fa5a096 (diff)
downloadsrc-e7ece4327116a8cb521dc619c7eb582e9e9ae31a.tar.gz
src-e7ece4327116a8cb521dc619c7eb582e9e9ae31a.zip
Silence warning by casting vxintr to correct type
Notes
Notes: svn path=/head/; revision=42555
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/if_vx_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_vx_pci.c b/sys/pci/if_vx_pci.c
index ab02693e270d..2584646edcbd 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, (void (*)(void *)) vxintr, (void *) sc, &net_imask);
}
static struct pci_device vxdevice = {