From 8ff47961addfc83c7e7b0e468b9b56d2c328b03e Mon Sep 17 00:00:00 2001 From: dynaflash Date: Thu, 26 May 2011 14:00:20 +0000 Subject: [PATCH] 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 --- macosx/Controller.h | 1 - macosx/Controller.m | 5 ----- macosx/HBAudioController.m | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/macosx/Controller.h b/macosx/Controller.h index 5b7864e75..4b3b50fd1 100644 --- a/macosx/Controller.h +++ b/macosx/Controller.h @@ -292,7 +292,6 @@ BOOL fIsDragging; returnCode: (int) returnCode contextInfo: (void *) contextInfo; - (IBAction) showPicturePanel: (id) sender; -- (void) picturePanelFullScreen; - (void) picturePanelWindowed; - (IBAction) showPreviewWindow: (id) sender; - (void)pictureSettingsDidChange; diff --git a/macosx/Controller.m b/macosx/Controller.m index d3720ae7f..d77c25161 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -5089,11 +5089,6 @@ the user is using "Custom" settings by determining the sender*/ [fPictureController showPictureWindow:sender]; } -- (void) picturePanelFullScreen -{ - [fPictureController setToFullScreenMode]; -} - - (void) picturePanelWindowed { [fPictureController setToWindowedMode]; 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]; -- 2.40.0