summaryrefslogtreecommitdiffstats
path: root/macosx/ChapterTitles.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2009-03-01 18:00:26 +0000
committerritsuka <[email protected]>2009-03-01 18:00:26 +0000
commita2763d8dc216bc2670d49128d98dd65600cfe95f (patch)
tree8f0626993b49b3834ad6a89af3145fa4eab00de4 /macosx/ChapterTitles.m
parent1d3a65d04e19f8adf752e44a2905d1b4932efe7e (diff)
MacGui; fixed warnings related to 64bit cocoa.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2183 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/ChapterTitles.m')
-rw-r--r--macosx/ChapterTitles.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/ChapterTitles.m b/macosx/ChapterTitles.m
index 0ad565119..893c2dc22 100644
--- a/macosx/ChapterTitles.m
+++ b/macosx/ChapterTitles.m
@@ -61,7 +61,7 @@
- (void)tableView:(NSTableView *)aTableView
setObjectValue:(id)anObject
forTableColumn:(NSTableColumn *)aTableColumn
- row:(int)rowIndex
+ row:(NSInteger)rowIndex
{
if(aTableColumn != nil && [[aTableColumn identifier] intValue] == 2)
{
@@ -80,7 +80,7 @@
- (id)tableView:(NSTableView *)aTableView
objectValueForTableColumn:(NSTableColumn *)aTableColumn
- row:(int)rowIndex
+ row:(NSInteger)rowIndex
{
NSString *cellEntry = @"__DATA ERROR__";
@@ -111,11 +111,11 @@ a timer to avoid interfering with the chain of events that handles the edit. */
NSTableView *chapterTable = [notification object];
NSInteger column = [chapterTable editedColumn];
NSInteger row = [chapterTable editedRow];
- int textMovement;
+ NSInteger textMovement;
// Edit the cell in the next row, same column
row++;
- textMovement = [[[notification userInfo] objectForKey:@"NSTextMovement"] intValue];
+ textMovement = [[[notification userInfo] objectForKey:@"NSTextMovement"] integerValue];
if( textMovement == NSReturnTextMovement && row < [chapterTable numberOfRows] )
{
NSArray *info = [NSArray arrayWithObjects:chapterTable,