mirror of https://github.com/fltk/fltk
Fix compiler warning [-Wignored-qualifiers]
In function ‘int glutExtensionSupported(const char*)’: warning: type qualifiers ignored on cast result type
This commit is contained in:
parent
0d435d51ac
commit
e186ee0af3
|
@ -454,7 +454,7 @@ int glutExtensionSupported( const char* extension )
|
|||
if (!extension || strchr(extension, ' ')) return 0;
|
||||
|
||||
const char *extensions, *start;
|
||||
const int len = (const int)strlen( extension );
|
||||
const int len = (int)strlen(extension);
|
||||
|
||||
start = extensions = (const char *) glGetString(GL_EXTENSIONS);
|
||||
|
||||
|
|
Loading…
Reference in New Issue