Skip to content
Browse files

Explicit return type cast.

Trying to get things to compile on clang 4. Return type is BOOL, but ==
apparently produces an int. Kind of useless.
  • Loading branch information...
1 parent 5f8dd18 commit 5ea6228bffd4469b9b12558774f32cb3239c6a6e @Shadowfiend Shadowfiend committed Jul 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/ViWindowController.m
View
2 app/ViWindowController.m
@@ -1205,7 +1205,7 @@ - (BOOL)tabView:(NSTabView *)aTabView shouldCloseTabViewItem:(NSTabViewItem *)ta
for (otherDocView in [document views])
if (otherDocView.tabController != tabController)
break;
- return (otherDocView == nil);
+ return (BOOL)(otherDocView == nil);
}];
[[NSDocumentController sharedDocumentController] closeAllDocumentsInSet:set

0 comments on commit 5ea6228

Please sign in to comment.
Something went wrong with that request. Please try again.