From edc929027efbdade94a7e1c895308df8d058086b Mon Sep 17 00:00:00 2001 From: ritsuka Date: Tue, 15 Oct 2013 11:36:51 +0000 Subject: MacGUI: fixed a number of leaks/null-deferences/dead-code found by clang static analyzer. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5838 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBSubtitles.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'macosx/HBSubtitles.h') diff --git a/macosx/HBSubtitles.h b/macosx/HBSubtitles.h index 9b001fe7a..7fb78b1cc 100644 --- a/macosx/HBSubtitles.h +++ b/macosx/HBSubtitles.h @@ -10,14 +10,14 @@ -@interface HBSubtitles : NSObject { +@interface HBSubtitles : NSObject { hb_title_t *fTitle; NSMutableArray *subtitleArray; // contains the output subtitle track info NSMutableArray *subtitleSourceArray;// contains the source subtitle track info NSString *foreignAudioSearchTrackName; NSMutableArray *languagesArray; // array of languages taken from lang.c -int languagesArrayDefIndex; +NSInteger languagesArrayDefIndex; NSMutableArray *charCodeArray; // array of character codes int charCodeArrayDefIndex; int container; @@ -39,7 +39,7 @@ int container; - (void)setNewSubtitles:(NSMutableArray*) newSubtitleArray; // Table View Delegates -- (int)numberOfRowsInTableView:(NSTableView *)aTableView; +- (NSUInteger)numberOfRowsInTableView:(NSTableView *)aTableView; - (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn -- cgit v1.2.3