diff --git a/fml/platform/darwin/message_loop_darwin.mm b/fml/platform/darwin/message_loop_darwin.mm index 93e6cf935d0de13c995ddb9717a3a3aee9cf1772..90977a8b560c65935acd3a3f232100af152aac85 100644 --- a/fml/platform/darwin/message_loop_darwin.mm +++ b/fml/platform/darwin/message_loop_darwin.mm @@ -41,7 +41,7 @@ void MessageLoopDarwin::Run() { while (running_) { @autoreleasepool { - CFRunLoopRunResult result = + int result = CFRunLoopRunInMode(kCFRunLoopDefaultMode, kDistantFuture, YES); if (result == kCFRunLoopRunStopped || result == kCFRunLoopRunFinished) { // This handles the case where the loop is terminated using