DragonFly BSD
DragonFly submit List (threaded) for 2006-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

isa_compat warning patch


From: Alexey Slynko <slynko@xxxxxxxxx>
Date: Wed, 18 Jan 2006 20:18:38 +0300

Hi,

1) Add express type cast
Index: sys/bus/isa/i386/isa_compat.c
===================================================================
RCS file: /mnt/share/dragonfly-cvs/src/sys/bus/isa/i386/isa_compat.c,v
retrieving revision 1.9
diff -u -r1.9 isa_compat.c
--- sys/bus/isa/i386/isa_compat.c	24 May 2005 20:58:50 -0000	1.9
+++ sys/bus/isa/i386/isa_compat.c	18 Jan 2006 14:43:30 -0000
@@ -258,7 +258,7 @@
 		op = ((struct isa_compat_driver *)device_get_driver(dev))->op;
 		error = BUS_SETUP_INTR(device_get_parent(dev), dev,
 				       res.irq, op->type,
-				       dvp->id_intr,
+				       (driver_intr_t *)dvp->id_intr,
 				       (void *)(uintptr_t)dvp->id_unit,
 				       &ih, NULL);
 		if (error)


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]