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:
parent
39f5ba2def
commit
99216c6061
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28508
@ -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 = {
|
||||
|
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user