Fix compiler warning [-Wignored-qualifiers]

In function ‘int glutExtensionSupported(const char*)’:
  warning: type qualifiers ignored on cast result type
This commit is contained in:
Albrecht Schlosser 2021-12-20 02:03:38 +01:00
parent 0d435d51ac
commit e186ee0af3
1 changed files with 1 additions and 1 deletions

View File

@ -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);