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 8ca9012..d42f006 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 );
     }