summaryrefslogtreecommitdiff
path: root/src/glut_compatibility.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-02-21 19:15:22 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-02-21 19:15:39 +0100
commite387dbd30c81d27e67a33a580578ea846ff25250 (patch)
treeee66686a426d0f0e8cbcf635b78e9f52a14f2052 /src/glut_compatibility.cxx
parent842cbf0f1023f798362ab77aef34da23a24490b7 (diff)
Remove VS compilation warning messages about implicit type conversions.
Diffstat (limited to 'src/glut_compatibility.cxx')
-rw-r--r--src/glut_compatibility.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glut_compatibility.cxx b/src/glut_compatibility.cxx
index df657a808..cf51e1319 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 = strlen( extension );
+ const int len = (const int)strlen( extension );
start = extensions = (const char *) glGetString(GL_EXTENSIONS);