]> granicus.if.org Git - handbrake/commitdiff
MacGui: fixed a warning in HBTreeNode.
authorritsuka <damiog@gmail.com>
Thu, 23 Oct 2014 07:45:27 +0000 (07:45 +0000)
committerritsuka <damiog@gmail.com>
Thu, 23 Oct 2014 07:45:27 +0000 (07:45 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6455 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/HBTreeNode.h
macosx/HBTreeNode.m

index a7eb0ca7d28d9018b799bdd657bfe95e4c6fed7e..e3c3d34b3dae77edfb5da5637aaa3e92c32048a0 100644 (file)
@@ -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
index 28be2c1fd445a832cb08f61f82a49fde6fd34bc6..c6a8f095977aa872635bfe49424617acada45e93 100644 (file)
@@ -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];