From 39042dc4bf11226d3cfe8a28a64703f622d97c6e Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 17 Jul 2016 08:15:23 +0300 Subject: [PATCH] macOS application controller is now using proper delegate protocol Fixes compilation error with Xcode 8: cannot initialize a parameter of type 'id _Nullable' with an lvalue of type 'ApplicationController *' --- src/posix/cocoa/i_main.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/posix/cocoa/i_main.mm b/src/posix/cocoa/i_main.mm index 5729a3716..bbe344809 100644 --- a/src/posix/cocoa/i_main.mm +++ b/src/posix/cocoa/i_main.mm @@ -220,8 +220,8 @@ int OriginalMain(int argc, char** argv) @interface ApplicationController : NSResponder -#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070 - +#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1060 + #endif { }