summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1999-01-12 01:42:01 +0000
committereivind <eivind@FreeBSD.org>1999-01-12 01:42:01 +0000
commit5b2289537ea61eea587b837b7cd0b2603f1c3d78 (patch)
treee7f733ab6f94d7272b14631c304c38c89dac9d02 /sys/dev
parent75d613a2c2689f0ebd60e80a843d42aa9bc1038e (diff)
downloadFreeBSD-src-5b2289537ea61eea587b837b7cd0b2603f1c3d78.zip
FreeBSD-src-5b2289537ea61eea587b837b7cd0b2603f1c3d78.tar.gz
Silence warning by casting vxintr to correct type
Diffstat (limited to 'sys/dev')
-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 ab02693..2584646 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, (void (*)(void *)) vxintr, (void *) sc, &net_imask);
}
static struct pci_device vxdevice = {
OpenPOWER on IntegriCloud