X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/6d2010ae8f7a6078e10b361c6962983bab233e0f..7e41aa883dd258f888d0470250eead40a53ef1f5:/iokit/Kernel/IOEventSource.cpp diff --git a/iokit/Kernel/IOEventSource.cpp b/iokit/Kernel/IOEventSource.cpp index 95046dacd..3393993e0 100644 --- a/iokit/Kernel/IOEventSource.cpp +++ b/iokit/Kernel/IOEventSource.cpp @@ -114,7 +114,7 @@ bool IOEventSource::tryCloseGate() 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, UInt32 type) int IOEventSource::sleepGate(void *event, AbsoluteTime deadline, UInt32 type) { - bool res; + int res; IOStatisticsOpenGate(); res = workLoop->sleepGate(event, deadline, type); IOStatisticsCloseGate();