summaryrefslogtreecommitdiff
path: root/progs/tests/arbvptorus.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/tests/arbvptorus.c')
-rw-r--r--progs/tests/arbvptorus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/arbvptorus.c b/progs/tests/arbvptorus.c
index 0015ae6f631..c1e2d0b76a8 100644
--- a/progs/tests/arbvptorus.c
+++ b/progs/tests/arbvptorus.c
@@ -158,7 +158,7 @@ static void Init( void )
glGetIntegerv(GL_PROGRAM_ERROR_POSITION_ARB, &errorpos);
printf("errorpos: %d\n", errorpos);
- printf("%s\n", glGetString(GL_PROGRAM_ERROR_STRING_ARB));
+ printf("%s\n", (char *)glGetString(GL_PROGRAM_ERROR_STRING_ARB));
}
/* Light position */