summaryrefslogtreecommitdiff
path: root/progs/tests/stencilwrap.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-12-20 01:01:00 -0800
committerVinson Lee <vlee@vmware.com>2009-12-20 01:01:00 -0800
commit0dd951387405fc67b93c675d6a462ce020504719 (patch)
tree315f442f6e326135837415085b7aab001b901c63 /progs/tests/stencilwrap.c
parentd87d71036cf546488981d3bd174fde967533bad2 (diff)
progs/tests: Silence compiler warnings.
Diffstat (limited to 'progs/tests/stencilwrap.c')
-rw-r--r--progs/tests/stencilwrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/stencilwrap.c b/progs/tests/stencilwrap.c
index 2e219fd8b5..d396fc2a53 100644
--- a/progs/tests/stencilwrap.c
+++ b/progs/tests/stencilwrap.c
@@ -257,7 +257,7 @@ static void Init( void )
* part of GL 1.4.
*/
- ver_str = glGetString( GL_VERSION );
+ ver_str = (char *) glGetString( GL_VERSION );
version = (ver_str == NULL) ? 1.0 : atof( ver_str );
wrapping = (glutExtensionSupported("GL_EXT_stencil_wrap") || (version >= 1.4));