[MPlayer-cvslog] CVS: main/libvo vo_macosx.m,1.7,1.8

Nicolas Plourde CVS syncmail at mplayerhq.hu
Thu May 26 01:44:57 CEST 2005


CVS change done by Nicolas Plourde CVS

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

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


Index: vo_macosx.m
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_macosx.m,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- vo_macosx.m	25 May 2005 23:38:59 -0000	1.7
+++ vo_macosx.m	25 May 2005 23:44:55 -0000	1.8
@@ -131,7 +131,7 @@
 	aspect_save_orig(width,height);
 	aspect_save_prescale(d_width,d_height);
 	aspect_save_screenres(device_width,device_height);
-	aspect(&d_width,&d_height,A_NOZOOM);
+	aspect((int *)&d_width,(int *)&d_height,A_NOZOOM);
 	
 	movie_aspect = (float)d_width/(float)d_height;
 	old_movie_aspect = movie_aspect;
@@ -542,7 +542,7 @@
 	//set image_rec
 	if(vo_keepaspect)
 	{
-		aspect( &d_width, &d_height, A_NOZOOM);
+		aspect( (int *)&d_width, (int *)&d_height, A_NOZOOM);
 		d_height = ((float)d_width/movie_aspect);
 		
 		aspectX = (float)((float)frame.size.width/(float)d_width);




More information about the MPlayer-cvslog mailing list