From 27c7d487a079d794f0d2c00d390c185e74dfb248 Mon Sep 17 00:00:00 2001 From: ceylo Date: Mon, 23 Mar 2009 12:44:55 +0000 Subject: [PATCH] Fixed cast. git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1063 4e206d99-4929-0410-ac5d-dfc041789085 --- src/SFML/Window/Cocoa/AppController.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Window/Cocoa/AppController.mm b/src/SFML/Window/Cocoa/AppController.mm index 9090ea3d3..3ebba08aa 100644 --- a/src/SFML/Window/Cocoa/AppController.mm +++ b/src/SFML/Window/Cocoa/AppController.mm @@ -264,7 +264,7 @@ static AppController *shared = nil; keyEquivalent:@"h"]; // + 'Hide other' menu item - menuItem = static_cast ([appleMenu addItemWithTitle:@"Hide Others" + menuItem = reinterpret_cast ([appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherApplications:) keyEquivalent:@"h"]); [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)];