Fix type convertion errors.

This commit is contained in:
patr0nus 2014-10-25 11:06:10 +08:00
parent 645f81effd
commit 623e3ebc03
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ void AtomBrowserMainParts::PreMainMessageLoopStart() {
NSApplication* application = [AtomApplication sharedApplication]; NSApplication* application = [AtomApplication sharedApplication];
AtomApplicationDelegate* delegate = [AtomApplicationDelegate alloc]; AtomApplicationDelegate* delegate = [AtomApplicationDelegate alloc];
[NSApp setDelegate:delegate]; [NSApp setDelegate:(id<NSFileManagerDelegate>)delegate];
base::FilePath frameworkPath = brightray::MainApplicationBundlePath() base::FilePath frameworkPath = brightray::MainApplicationBundlePath()
.Append("Contents") .Append("Contents")

View file

@ -29,7 +29,7 @@ std::string Browser::GetExecutableFileProductName() const {
} }
int Browser::DockBounce(BounceType type) { int Browser::DockBounce(BounceType type) {
return [[AtomApplication sharedApplication] requestUserAttention:type]; return [[AtomApplication sharedApplication] requestUserAttention:(NSRequestUserAttentionType)type];
} }
void Browser::DockCancelBounce(int rid) { void Browser::DockCancelBounce(int rid) {