Fix GLubyte warning, by casting to (char*)

This commit is contained in:
Jari Vetoniemi 2012-07-17 22:29:09 +03:00
parent 739be03373
commit db0a4b599d

View File

@ -84,7 +84,7 @@ static void parseGLVersion(int* major, int* minor, int* rev)
// Find version from OpenGL string
for (; version &&
!sscanf(version, "%d.%d.%d", &_major, &_minor, &_rev);
!sscanf((char*)version, "%d.%d.%d", &_major, &_minor, &_rev);
++version);
// Store result