Type fix for OS X.
authorCarl Hetherington <cth@carlh.net>
Mon, 3 Jun 2019 13:57:01 +0000 (14:57 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 3 Jun 2019 13:57:01 +0000 (14:57 +0100)
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