diff options
Diffstat (limited to 'progs/tests/arbvptest1.c')
-rw-r--r-- | progs/tests/arbvptest1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/arbvptest1.c b/progs/tests/arbvptest1.c index 62c37c1d9a1..5c462c42c7f 100644 --- a/progs/tests/arbvptest1.c +++ b/progs/tests/arbvptest1.c @@ -66,7 +66,7 @@ static void load_program(const char *prog, GLuint prognum) { 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)); for (a=-10; a<10; a++) { |