[vlc-devel] commit: Fixed a compilation warning ( Felix Paul Kühne )

git version control git at videolan.org
Tue Apr 8 23:41:02 CEST 2008


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Apr  8 20:35:33 2008 +0200| [a4eb03a532b5562ad6676ec37172c2714c49ef9f]

Fixed a compilation warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a4eb03a532b5562ad6676ec37172c2714c49ef9f
---

 modules/gui/minimal_macosx/VLCOpenGLVoutView.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/minimal_macosx/VLCOpenGLVoutView.m b/modules/gui/minimal_macosx/VLCOpenGLVoutView.m
index 8ca9012..d42f006 100644
--- a/modules/gui/minimal_macosx/VLCOpenGLVoutView.m
+++ b/modules/gui/minimal_macosx/VLCOpenGLVoutView.m
@@ -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 );
     }




More information about the vlc-devel mailing list