[MPlayer-cvslog] CVS: main/libvo vo_macosx.m,1.15,1.16

Nicolas Plourde CVS syncmail at mplayerhq.hu
Wed Jun 15 16:55:10 CEST 2005


CVS change done by Nicolas Plourde CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv8662/libvo

Modified Files:
	vo_macosx.m 
Log Message:
fix gcc warning

Index: vo_macosx.m
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_macosx.m,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- vo_macosx.m	15 Jun 2005 14:48:33 -0000	1.15
+++ vo_macosx.m	15 Jun 2005 14:55:08 -0000	1.16
@@ -362,7 +362,7 @@
 	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 @@
 		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];




More information about the MPlayer-cvslog mailing list