diff options
author | ritsuka <[email protected]> | 2014-10-23 07:45:27 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-10-23 07:45:27 +0000 |
commit | 601c4e9f5bcd7ac31cf2f25ce9b8c88af4627743 (patch) | |
tree | bf7897a99c9bd377023b535e3d0b8fcf12f982b0 /macosx | |
parent | f3494b3b3ea87636a7f0951f6181994d090624e7 (diff) |
MacGui: fixed a warning in HBTreeNode.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6455 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBTreeNode.h | 2 | ||||
-rw-r--r-- | macosx/HBTreeNode.m | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBTreeNode.h b/macosx/HBTreeNode.h index a7eb0ca7d..e3c3d34b3 100644 --- a/macosx/HBTreeNode.h +++ b/macosx/HBTreeNode.h @@ -38,7 +38,7 @@ // KVC Accessor Methods - (NSUInteger)countOfChildren; - (id)objectInChildrenAtIndex:(NSUInteger)index; -- (void)insertObject:(id)presetObject inChildrenAtIndex:(NSUInteger)index; +- (void)insertObject:(HBTreeNode *)presetObject inChildrenAtIndex:(NSUInteger)index; - (void)removeObjectFromChildrenAtIndex:(NSUInteger)index; @end diff --git a/macosx/HBTreeNode.m b/macosx/HBTreeNode.m index 28be2c1fd..c6a8f0959 100644 --- a/macosx/HBTreeNode.m +++ b/macosx/HBTreeNode.m @@ -34,7 +34,7 @@ return [self.children objectAtIndex:index]; } -- (void)insertObject:(id)presetObject inChildrenAtIndex:(NSUInteger)index +- (void)insertObject:(HBTreeNode *)presetObject inChildrenAtIndex:(NSUInteger)index { [self.children insertObject:presetObject atIndex:index]; [presetObject setDelegate:self.delegate]; |