diff options
Diffstat (limited to 'macosx/ChapterTitles.m')
-rw-r--r-- | macosx/ChapterTitles.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/ChapterTitles.m b/macosx/ChapterTitles.m index 1ff8b1194..b42309f8a 100644 --- a/macosx/ChapterTitles.m +++ b/macosx/ChapterTitles.m @@ -59,7 +59,7 @@ return [NSArray arrayWithArray:fChapterTitlesArray]; } -- (int)numberOfRowsInTableView:(NSTableView *)aTableView +- (NSUInteger)numberOfRowsInTableView:(NSTableView *)aTableView { if (fTitle == NULL) { @@ -91,7 +91,7 @@ { if ([[aTableColumn identifier] intValue] == 1) { - return [NSString stringWithFormat:@"%d", rowIndex + 1]; + return [NSString stringWithFormat:@"%ld", rowIndex + 1]; } else if (fTitle != NULL) { |