changeset 25137:6f2f5c2dea52

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
author ulion
date Mon, 26 Nov 2007 03:06:16 +0000
parents e029d2fcd20f
children d624c8409e8b
files libvo/vo_macosx.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_macosx.m	Mon Nov 26 02:57:02 2007 +0000
+++ b/libvo/vo_macosx.m	Mon Nov 26 03:06:16 2007 +0000
@@ -370,7 +370,7 @@
 	uint32_t d_width;
 	uint32_t d_height;
 	
-	long swapInterval = 1;
+	GLint swapInterval = 1;
 	
 	NSRect frame;
 	CVReturn error = kCVReturnSuccess;