summaryrefslogtreecommitdiffstats
path: root/sys/pci/pci_compat.c
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-08-21 08:42:59 +0000
committerfsmp <fsmp@FreeBSD.org>1997-08-21 08:42:59 +0000
commit31a7d475275ab8b82eaec758b69a69f54ca4d766 (patch)
tree8ab3ee5bb18b5b8da31e6e202017883f4cc5c977 /sys/pci/pci_compat.c
parent95c812f7d496c1371480f79055d2600186581a8d (diff)
downloadFreeBSD-src-31a7d475275ab8b82eaec758b69a69f54ca4d766.zip
FreeBSD-src-31a7d475275ab8b82eaec758b69a69f54ca4d766.tar.gz
Yank the casts.
Diffstat (limited to 'sys/pci/pci_compat.c')
-rw-r--r--sys/pci/pci_compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/pci_compat.c b/sys/pci/pci_compat.c
index d72c7fa..9041156 100644
--- a/sys/pci/pci_compat.c
+++ b/sys/pci/pci_compat.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pci_compat.c,v 1.2 1997/08/21 07:00:12 smp Exp smp $
+ * $Id: pci_compat.c,v 1.5 1997/08/21 07:05:48 fsmp Exp $
*
*/
@@ -169,7 +169,7 @@ pci_map_int(pcici_t cfg, pci_inthand_t *func, void *arg, unsigned *maskptr)
void *dev_instance = (void *)-1; /* XXX use cfg->devdata */
void *idesc;
- idesc = intr_create(dev_instance, irq, (inthand2_t*)func, arg, maskptr, 0);
+ idesc = intr_create(dev_instance, irq, func, arg, maskptr, 0);
return (intr_connect(idesc) == 0);
}
return (1);
OpenPOWER on IntegriCloud