diff --git a/video/out/gl_common.c b/video/out/gl_common.c index 29d8a6b876..82f5e2ac98 100644 --- a/video/out/gl_common.c +++ b/video/out/gl_common.c @@ -499,7 +499,7 @@ void mpgl_load_functions(GL *gl, void *(*getProcAddress)(const GLubyte *), return; } - GLint major = 0, minor = 0; + int major = 0, minor = 0; const char *version = gl->GetString(GL_VERSION); sscanf(version, "%d.%d", &major, &minor); gl->version = MPGL_VER(major, minor);