Merge pull request #1302 from dguzek/macOS-10-12

fix compilation on macOS 10.12
This commit is contained in:
Dan Guzek
2016-12-01 16:29:13 -05:00
committed by Jason Felds
parent 9944ac3957
commit a7d4919d83
2 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ int main( int argc, char **argv )
// Create SMMain and make it the app delegate.
sm = [[SMMain alloc] initWithArgc:argc argv:argv];
[NSApp setDelegate:sm];
[NSApp setDelegate:static_cast<id<NSApplicationDelegate>>(sm)];
[pool release];
// Start the main event loop.