]> git.sesse.net Git - vlc/commitdiff
Fixed a compilation warning
authorFelix Paul Kühne <fkuehne@videolan.org>
Tue, 8 Apr 2008 18:35:33 +0000 (20:35 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Tue, 8 Apr 2008 18:35:33 +0000 (20:35 +0200)
modules/gui/minimal_macosx/VLCOpenGLVoutView.m

index 8ca901272fcdbbd4bbadfaec31f109b6318cf272..d42f0062ec195c4e949ba4a5dcfde57fc68948a7 100644 (file)
@@ -264,7 +264,7 @@ void cocoaglvoutviewUnlock( vout_thread_t * p_vout )
         /* Swap buffers only during the vertical retrace of the monitor.
         http://developer.apple.com/documentation/GraphicsImaging/
         Conceptual/OpenGL/chap5/chapter_5_section_44.html */
-        long params[] = { 1 };
+        GLint params[] = { 1 };
         CGLSetParameter( CGLGetCurrentContext(), kCGLCPSwapInterval,
                      params );
     }