From 2f530f704909a0788e0adef8956386e73ef9b290 Mon Sep 17 00:00:00 2001 From: Paul Betts Date: Sun, 23 Nov 2014 13:52:59 -0800 Subject: [PATCH] Downcast variable to appease clang --- atom/browser/browser_mac.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/browser/browser_mac.mm b/atom/browser/browser_mac.mm index 797c560728fa..06c2b4347799 100644 --- a/atom/browser/browser_mac.mm +++ b/atom/browser/browser_mac.mm @@ -71,7 +71,7 @@ void Browser::DockShow() { } void Browser::DockSetMenu(ui::MenuModel* model) { - AtomApplicationDelegate* delegate = [NSApp delegate]; + AtomApplicationDelegate* delegate = (AtomApplicationDelegate*)[NSApp delegate]; [delegate setApplicationDockMenu:model]; }