summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudioController.m
diff options
context:
space:
mode:
authordynaflash <[email protected]>2011-05-26 14:00:20 +0000
committerdynaflash <[email protected]>2011-05-26 14:00:20 +0000
commit8ff47961addfc83c7e7b0e468b9b56d2c328b03e (patch)
tree1c268e97f9287e0d416814b97bbb7279f037f5b5 /macosx/HBAudioController.m
parentc7bca57fa504cb0d7ead54c66b760ac7fcabb096 (diff)
MacGui: Fix some compile time warnings.
- patch by blindjimmy, thanks! - as per https://reviews.handbrake.fr/r/99/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4001 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAudioController.m')
-rw-r--r--macosx/HBAudioController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBAudioController.m b/macosx/HBAudioController.m
index 074533b18..c50227ff5 100644
--- a/macosx/HBAudioController.m
+++ b/macosx/HBAudioController.m
@@ -444,7 +444,7 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification";
// If this is not the last track in the array we need to remove it. We then need to see if a new
// one needs to be added (in the case when we were at maximum count and this switching makes it
// so we are no longer at maximum.
- unsigned int index = [audioArray indexOfObject: newNoneTrack];
+ NSUInteger index = [audioArray indexOfObject: newNoneTrack];
if (NSNotFound != index && index < [self countOfAudioArray] - 1) {
[self removeObjectFromAudioArrayAtIndex: index];