Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make NSOutlineView+ExpandAllItems compile warning-free with modern co…

…mpilers.
  • Loading branch information...
commit 8338d908b47a7ba815ab54281366b76996945d93 1 parent dd21b35
Uli Kusterer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  NSOutlineView+ExpandAllItems.m
2  NSOutlineView+ExpandAllItems.m
View
@@ -40,7 +40,7 @@ @implementation NSOutlineView (UKExpandAllItems)
-(void) expandAllItems
{
- NSObject* dataSource = [self dataSource];
+ NSObject<NSOutlineViewDataSource>* dataSource = [self dataSource];
int topItemCount = [dataSource outlineView: self numberOfChildrenOfItem: nil];
int x = 0;
Please sign in to comment.
Something went wrong with that request. Please try again.