diff options
author | nplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-06-15 14:55:08 +0000 |
---|---|---|
committer | nplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-06-15 14:55:08 +0000 |
commit | e2fab0fbc0d6d0cdb0b5eadfe1872eb699efe279 (patch) | |
tree | 7e5a2fd7c84115e679a587e801aa05cb61dc9cda /libvo/vo_macosx.m | |
parent | dbf0e226d2af41958f4e37a67642c66fad37d2e0 (diff) | |
download | mpv-e2fab0fbc0d6d0cdb0b5eadfe1872eb699efe279.tar.bz2 mpv-e2fab0fbc0d6d0cdb0b5eadfe1872eb699efe279.tar.xz |
fix gcc warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15728 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_macosx.m')
-rw-r--r-- | libvo/vo_macosx.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m index 11f2fe16e0..e04602d912 100644 --- a/libvo/vo_macosx.m +++ b/libvo/vo_macosx.m @@ -362,7 +362,7 @@ static uint32_t control(uint32_t request, void *data, ...) kDoubleScreenCmd = menuItem; menuItem = [[NSMenuItem alloc] initWithTitle:@"Full Size" action:@selector(menuAction:) keyEquivalent:@"f"]; [menu addItem:menuItem]; kFullScreenCmd = menuItem; - menuItem = [NSMenuItem separatorItem]; [menu addItem:menuItem]; + menuItem = (NSMenuItem *)[NSMenuItem separatorItem]; [menu addItem:menuItem]; NSMenu *aspectMenu; aspectMenu = [[NSMenu alloc] initWithTitle:@"Aspect Ratio"]; @@ -372,7 +372,7 @@ static uint32_t control(uint32_t request, void *data, ...) menuItem = [[NSMenuItem alloc] initWithTitle:@"Pan-Scan" action:@selector(menuAction:) keyEquivalent:@""]; [aspectMenu addItem:menuItem]; if(vo_panscan) [menuItem setState:NSOnState]; kPanScanCmd = menuItem; - menuItem = [NSMenuItem separatorItem]; [aspectMenu addItem:menuItem]; + menuItem = (NSMenuItem *)[NSMenuItem separatorItem]; [menu addItem:menuItem]; menuItem = [[NSMenuItem alloc] initWithTitle:@"Original" action:@selector(menuAction:) keyEquivalent:@""]; [aspectMenu addItem:menuItem]; kAspectOrgCmd = menuItem; menuItem = [[NSMenuItem alloc] initWithTitle:@"4:3" action:@selector(menuAction:) keyEquivalent:@""]; [aspectMenu addItem:menuItem]; |