diff options
Diffstat (limited to 'progs/tests/arbfpspec.c')
-rw-r--r-- | progs/tests/arbfpspec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/tests/arbfpspec.c b/progs/tests/arbfpspec.c index 0764a4fdfe0..73c55369ec8 100644 --- a/progs/tests/arbfpspec.c +++ b/progs/tests/arbfpspec.c @@ -151,7 +151,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)); } glBindProgramARB(GL_FRAGMENT_PROGRAM_ARB, fprognum); @@ -165,7 +165,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)); } glEnable(GL_VERTEX_PROGRAM_ARB); |