From 994756398decf77738afb3c599d4cb9238c77cee Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Fri, 4 Mar 2011 00:38:30 +0000 Subject: - Fix more compiler warnings --- Source/SPConnectionControllerDelegate.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/SPConnectionControllerDelegate.m') diff --git a/Source/SPConnectionControllerDelegate.m b/Source/SPConnectionControllerDelegate.m index 9a7dedbf..ab4b4c27 100644 --- a/Source/SPConnectionControllerDelegate.m +++ b/Source/SPConnectionControllerDelegate.m @@ -135,11 +135,11 @@ return [[node nodeChildren] count]; } -- (id)outlineView:(NSOutlineView *)outlineView child:(NSInteger)index ofItem:(id)item +- (id)outlineView:(NSOutlineView *)outlineView child:(NSInteger)anIndex ofItem:(id)item { SPFavoriteNode *node = (item == nil ? favoritesRoot : (SPFavoriteNode *)item); - return NSArrayObjectAtIndex([node nodeChildren], index); + return NSArrayObjectAtIndex([node nodeChildren], anIndex); } - (BOOL)outlineView:(NSOutlineView *)outlineView isItemExpandable:(id)item -- cgit v1.2.3