mirror of
https://github.com/glfw/glfw.git
synced 2024-11-27 12:32:00 +00:00
Fix GLubyte warning, by casting to (char*)
This commit is contained in:
parent
739be03373
commit
db0a4b599d
@ -84,7 +84,7 @@ static void parseGLVersion(int* major, int* minor, int* rev)
|
|||||||
|
|
||||||
// Find version from OpenGL string
|
// Find version from OpenGL string
|
||||||
for (; version &&
|
for (; version &&
|
||||||
!sscanf(version, "%d.%d.%d", &_major, &_minor, &_rev);
|
!sscanf((char*)version, "%d.%d.%d", &_major, &_minor, &_rev);
|
||||||
++version);
|
++version);
|
||||||
|
|
||||||
// Store result
|
// Store result
|
||||||
|
Loading…
Reference in New Issue
Block a user