[MPlayer-cvslog] r25165 - trunk/libvo/vo_macosx.m

ulion subversion at mplayerhq.hu
Mon Nov 26 04:06:17 CET 2007


Author: ulion
Date: Mon Nov 26 04:06:16 2007
New Revision: 25165

Log:
Fix warning on Leopard, tested ok on Tiger:
vo_macosx.m: In function '-[MPlayerOpenGLView config]':
vo_macosx.m:387: warning: passing argument 1 of 'setValues:forParameter:' from incompatible pointer type


Modified:
   trunk/libvo/vo_macosx.m

Modified: trunk/libvo/vo_macosx.m
==============================================================================
--- trunk/libvo/vo_macosx.m	(original)
+++ trunk/libvo/vo_macosx.m	Mon Nov 26 04:06:16 2007
@@ -370,7 +370,7 @@ static int control(uint32_t request, voi
 	uint32_t d_width;
 	uint32_t d_height;
 	
-	long swapInterval = 1;
+	GLint swapInterval = 1;
 	
 	NSRect frame;
 	CVReturn error = kCVReturnSuccess;



More information about the MPlayer-cvslog mailing list