Type fix for OS X.
[dcpomatic.git] / src / wx / gl_video_view.cc
index cac8e9c8ff0104f9cb4b1ec568f104e34b99ee5d..52d39b571d435e8f4e2d7d89ef741649f214edc7 100644 (file)
@@ -67,7 +67,7 @@ GLVideoView::GLVideoView (FilmViewer* viewer, wxWindow *parent)
 
 #ifdef DCPOMATIC_OSX
        /* Enable vsync */
-       long swapInterval = 1;
+       GLint swapInterval = 1;
        CGLSetParameter (CGLGetCurrentContext(), kCGLCPSwapInterval, &swapInterval);
 #endif