diff options
author | ritsuka <[email protected]> | 2013-10-15 11:36:51 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2013-10-15 11:36:51 +0000 |
commit | edc929027efbdade94a7e1c895308df8d058086b (patch) | |
tree | 6a1dd18b796c22d827e525457095ab26d2b09269 /macosx/HBSubtitles.h | |
parent | 186685f0ab2f2db4e37d50e8291ef8997153d831 (diff) |
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
Diffstat (limited to 'macosx/HBSubtitles.h')
-rw-r--r-- | macosx/HBSubtitles.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 <NSTableViewDataSource> { 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 |