mirror of
https://github.com/glfw/glfw.git
synced 2024-11-23 10:35:10 +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
|
||||
for (; version &&
|
||||
!sscanf(version, "%d.%d.%d", &_major, &_minor, &_rev);
|
||||
!sscanf((char*)version, "%d.%d.%d", &_major, &_minor, &_rev);
|
||||
++version);
|
||||
|
||||
// Store result
|
||||
|
Loading…
Reference in New Issue
Block a user