# HG changeset patch # User ulion # Date 1196046376 0 # Node ID 6f2f5c2dea524568a882b909160bb46cfdbf4451 # Parent e029d2fcd20ff8528069298a7e1c6d3da31d8a03 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 diff -r e029d2fcd20f -r 6f2f5c2dea52 libvo/vo_macosx.m --- 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;