diff options
author | stuconnolly <stuart02@gmail.com> | 2012-05-09 11:54:15 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-05-09 11:54:15 +0000 |
commit | 9131db394c46f10260fcec1a1df5216b140e2bc2 (patch) | |
tree | c22c7f4d75eae131ccb9f44f00f3675d7076b500 /Source/SPConnectionControllerDataSource.m | |
parent | 688da863bf88089d5bea4a6982b8eb59a578491c (diff) | |
download | sequelpro-9131db394c46f10260fcec1a1df5216b140e2bc2.tar.gz sequelpro-9131db394c46f10260fcec1a1df5216b140e2bc2.tar.bz2 sequelpro-9131db394c46f10260fcec1a1df5216b140e2bc2.zip |
Fix gcc warnings.
Diffstat (limited to 'Source/SPConnectionControllerDataSource.m')
-rw-r--r-- | Source/SPConnectionControllerDataSource.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPConnectionControllerDataSource.m b/Source/SPConnectionControllerDataSource.m index 91fd6398..e7fea0c6 100644 --- a/Source/SPConnectionControllerDataSource.m +++ b/Source/SPConnectionControllerDataSource.m @@ -45,11 +45,11 @@ return [[node childNodes] count]; } -- (id)outlineView:(NSOutlineView *)outlineView child:(NSInteger)index ofItem:(id)item +- (id)outlineView:(NSOutlineView *)outlineView child:(NSInteger)childIndex ofItem:(id)item { SPTreeNode *node = (item == nil ? favoritesRoot : (SPTreeNode *)item); - return NSArrayObjectAtIndex([node childNodes], index); + return NSArrayObjectAtIndex([node childNodes], childIndex); } - (BOOL)outlineView:(NSOutlineView *)outlineView isItemExpandable:(id)item |