1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 10:48:51 -05:00

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