Merge pull request #1302 from dguzek/macOS-10-12
fix compilation on macOS 10.12
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user