Add a cast to eliminate a compiler warning.

This commit is contained in:
Steve Passe 1997-08-21 07:35:23 +00:00
parent 39f5ba2def
commit 99216c6061
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, (pci_inthand_t*)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, (pci_inthand_t*)vxintr, (void *) sc, &net_imask);
}
static struct pci_device vxdevice = {