1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28508
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 = {