changeset 31738:781904280cd7

Remove pointless casts.
author reimar
date Sun, 25 Jul 2010 11:18:04 +0000
parents 38999f9d3c7e
children 923b5da53f65
files libvo/vo_corevideo.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_corevideo.m	Sun Jul 25 11:16:40 2010 +0000
+++ b/libvo/vo_corevideo.m	Sun Jul 25 11:18:04 2010 +0000
@@ -554,7 +554,7 @@
 	kDoubleScreenCmd = menuItem;
 	menuItem = [[NSMenuItem alloc] initWithTitle:@"Full Size" action:@selector(menuAction:) keyEquivalent:@"f"]; [menu addItem:menuItem];
 	kFullScreenCmd = menuItem;
-	menuItem = (NSMenuItem *)[NSMenuItem separatorItem]; [menu addItem:menuItem];
+	menuItem = [NSMenuItem separatorItem]; [menu addItem:menuItem];
 
 		aspectMenu = [[NSMenu alloc] initWithTitle:@"Aspect Ratio"];
 		menuItem = [[NSMenuItem alloc] initWithTitle:@"Keep" action:@selector(menuAction:) keyEquivalent:@""]; [aspectMenu addItem:menuItem];
@@ -563,7 +563,7 @@
 		menuItem = [[NSMenuItem alloc] initWithTitle:@"Pan-Scan" action:@selector(menuAction:) keyEquivalent:@""]; [aspectMenu addItem:menuItem];
 		if(vo_panscan) [menuItem setState:NSOnState];
 		kPanScanCmd = menuItem;
-		menuItem = (NSMenuItem *)[NSMenuItem separatorItem]; [aspectMenu addItem:menuItem];
+		menuItem = [NSMenuItem separatorItem]; [aspectMenu 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];