Loading...
iokit/Kernel/IOStartIOKit.cpp xnu-201.14 xnu-344.23
--- xnu/xnu-201.14/iokit/Kernel/IOStartIOKit.cpp
+++ xnu/xnu-344.23/iokit/Kernel/IOStartIOKit.cpp
@@ -103,7 +103,7 @@
 		calend_sleep_wake_call = thread_call_allocate(
 											calend_wakeup_resynch, NULL);
 
-		registerSleepWakeInterest(calend_sleep_wake_notif, NULL, NULL);
+		registerSleepWakeInterest((void *)calend_sleep_wake_notif, NULL, NULL);
 	}
 
     clock_initialize_calendar();