Permalink
Browse files

Cast to id to fix compiler warning

  • Loading branch information...
1 parent 5cdbd32 commit fcacad4c4ccc306b02768ed995b56c4abfc0d11d @mugginsoft committed Jan 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 F-Script/FScriptAppController.m
@@ -403,7 +403,7 @@ - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sende
- (void)dealloc
{
- if ([[NSApplication sharedApplication] delegate] == self)
+ if ((id)[[NSApplication sharedApplication] delegate] == self)
[[NSApplication sharedApplication] setDelegate:nil];
// since we don't retain outlets infoPanel and interpreterView, we don't have to release them here.
[showConsoleMenuItem release];

0 comments on commit fcacad4

Please sign in to comment.