Loading...
--- xnu/xnu-792.25.20/iokit/Kernel/IOInterruptEventSource.cpp
+++ xnu/xnu-517.12.7/iokit/Kernel/IOInterruptEventSource.cpp
@@ -97,12 +97,12 @@
autoDisable = (intType == kIOInterruptTypeLevel);
if (autoDisable) {
- intHandler = OSMemberFunctionCast(IOInterruptAction,
- this, &IOInterruptEventSource::disableInterruptOccurred);
+ intHandler = (IOInterruptAction)
+ &IOInterruptEventSource::disableInterruptOccurred;
}
else
- intHandler = OSMemberFunctionCast(IOInterruptAction,
- this, &IOInterruptEventSource::normalInterruptOccurred);
+ intHandler = (IOInterruptAction)
+ &IOInterruptEventSource::normalInterruptOccurred;
res = (kIOReturnSuccess == inProvider->registerInterrupt
(inIntIndex, this, intHandler));