diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-12-20 02:03:38 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-12-20 02:03:38 +0100 |
| commit | e186ee0af3c42c0a5fcffead0428ed784a602363 (patch) | |
| tree | f401a6f5c14513ec811ccc470a07275951333025 /src/glut_compatibility.cxx | |
| parent | 0d435d51aca65f76702369a1a7d389ee0e31e1e2 (diff) | |
Fix compiler warning [-Wignored-qualifiers]
In function ‘int glutExtensionSupported(const char*)’:
warning: type qualifiers ignored on cast result type
Diffstat (limited to 'src/glut_compatibility.cxx')
| -rw-r--r-- | src/glut_compatibility.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glut_compatibility.cxx b/src/glut_compatibility.cxx index cf51e1319..0a5a6b30e 100644 --- a/src/glut_compatibility.cxx +++ b/src/glut_compatibility.cxx @@ -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); |
