Silence warning by casting vxintr to correct type

This commit is contained in:
Eivind Eklund 1999-01-12 01:42:01 +00:00
parent 38acda90ba
commit e7ece43271
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42555
2 changed files with 2 additions and 2 deletions

View File

@ -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 = {

View File

@ -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 = {