macosx: fixed compilation warning
authorFelix Paul Kühne <fkuehne@videolan.org>
Fri, 26 Jun 2009 10:14:39 +0000 (12:14 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Fri, 26 Jun 2009 11:04:21 +0000 (13:04 +0200)
modules/gui/macosx/playlistinfo.h
modules/gui/macosx/playlistinfo.m

index cea5c0c..c3259a4 100644 (file)
 }
 
 - (int)numberOfChildren;
-- (VLCInfoTreeItem *)childAtIndex:(int)i_index;
+- (VLCInfoTreeItem *)childAtIndex:(NSUInteger)i_index;
 - (NSString *)name;
 - (NSString *)value;
 - (void)refresh;
index 623a6a5..dc316dc 100644 (file)
@@ -590,7 +590,7 @@ error:
     o_children = nil;
 }
 
-- (VLCInfoTreeItem *)childAtIndex:(int)i_index {
+- (VLCInfoTreeItem *)childAtIndex:(NSUInteger)i_index {
     return [[self children] objectAtIndex:i_index];
 }