]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/IOInterruptController.cpp
xnu-792.10.96.tar.gz
[apple/xnu.git] / iokit / Kernel / IOInterruptController.cpp
index 29c5fd14a6228ba339693f4dc8c83352bda8c1ac..2c8304e333fd73afc7773d2ec93ed23116782401 100644 (file)
@@ -666,7 +666,8 @@ IOReturn IOSharedInterruptController::disableInterrupt(IOService *nub,
 
 IOInterruptAction IOSharedInterruptController::getInterruptHandlerAddress(void)
 {
-    return (IOInterruptAction)&IOSharedInterruptController::handleInterrupt;
+    return OSMemberFunctionCast(IOInterruptAction,
+                       this, &IOSharedInterruptController::handleInterrupt);
 }
 
 IOReturn IOSharedInterruptController::handleInterrupt(void * /*refCon*/,