Loading...
iokit/Kernel/IOEventSource.cpp xnu-2422.100.13 xnu-4570.31.3
--- xnu/xnu-2422.100.13/iokit/Kernel/IOEventSource.cpp
+++ xnu/xnu-4570.31.3/iokit/Kernel/IOEventSource.cpp
@@ -114,7 +114,7 @@
 
 int IOEventSource::sleepGate(void *event, UInt32 type)
 { 
-	bool res; 
+	int res; 
 	IOStatisticsOpenGate(); 
 	res = workLoop->sleepGate(event, type); 
 	IOStatisticsCloseGate(); 
@@ -123,7 +123,7 @@
 
 int IOEventSource::sleepGate(void *event, AbsoluteTime deadline, UInt32 type)
 { 
-	bool res; 
+	int res; 
 	IOStatisticsOpenGate(); 
 	res = workLoop->sleepGate(event, deadline, type);
 	IOStatisticsCloseGate();