Loading...
iokit/Kernel/IOInterruptEventSource.cpp xnu-792.6.56 xnu-517
--- xnu/xnu-792.6.56/iokit/Kernel/IOInterruptEventSource.cpp
+++ xnu/xnu-517/iokit/Kernel/IOInterruptEventSource.cpp
@@ -2,6 +2,8 @@
  * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
+ * 
+ * Copyright (c) 1999-2003 Apple Computer, Inc.  All Rights Reserved.
  * 
  * This file contains Original Code and/or Modifications of Original Code
  * as defined in and that are subject to the Apple Public Source License
@@ -98,12 +100,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));