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