Downcast variable to appease clang

This commit is contained in:
Paul Betts 2014-11-23 13:52:59 -08:00
parent dfcad75a27
commit 2f530f7049

View file

@ -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];
}