]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/interaction.m
macosx: updated used Cocoa methods to the current definitions and fixed a few logic...
[vlc] / modules / gui / macosx / interaction.m
index 0f3238f42cc486173e6eb06f8d56c2eeb4a21835..32c9bd9c063d57049bc80579c59715502f7d70c9 100644 (file)
 /*----------------------------------------------------------------------------
  * data source methods
  *---------------------------------------------------------------------------*/
-- (int)numberOfRowsInTableView:(NSTableView *)theDataTable
+- (NSInteger)numberOfRowsInTableView:(NSTableView *)theDataTable
 {
     return [o_errors count];
 }
 
 - (id)tableView:(NSTableView *)theDataTable objectValueForTableColumn:
-    (NSTableColumn *)theTableColumn row: (int)row
+    (NSTableColumn *)theTableColumn row: (NSInteger)row
 {
     if( [[theTableColumn identifier] isEqualToString: @"error_msg"] )
         return [o_errors objectAtIndex: row];