Skip to content

Commit

Permalink
Cast to id to fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Mitchell committed Jan 20, 2012
1 parent 5cdbd32 commit fcacad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion F-Script/FScriptAppController.m
Expand Up @@ -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];
Expand Down

0 comments on commit fcacad4

Please sign in to comment.