summaryrefslogtreecommitdiffstats
path: root/libvo/vo_macosx.m
diff options
context:
space:
mode:
authorulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-26 03:06:16 +0000
committerulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-26 03:06:16 +0000
commit3208da3545514630dba7682b3e369c41ba0a8086 (patch)
tree011773a7f9888c4fcf092ac9d6a8020084a00f65 /libvo/vo_macosx.m
parente876561a9e4fe4dadb7138435f561b6c2cae432e (diff)
downloadmpv-3208da3545514630dba7682b3e369c41ba0a8086.tar.bz2
mpv-3208da3545514630dba7682b3e369c41ba0a8086.tar.xz
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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25165 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_macosx.m')
-rw-r--r--libvo/vo_macosx.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m
index 796f9fecd3..90f179fa7a 100644
--- a/libvo/vo_macosx.m
+++ b/libvo/vo_macosx.m
@@ -370,7 +370,7 @@ static int control(uint32_t request, void *data, ...)
uint32_t d_width;
uint32_t d_height;
- long swapInterval = 1;
+ GLint swapInterval = 1;
NSRect frame;
CVReturn error = kCVReturnSuccess;