summaryrefslogtreecommitdiffstats
path: root/progs/tests/arbfptest1.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2004-01-28 16:28:53 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2004-01-28 16:28:53 +0000
commit29b2ced167db4f89845734e2c34f66912075f9cd (patch)
treed88ddb1c347d4eb3062d2f731f45360056c6a3a0 /progs/tests/arbfptest1.c
parente8df62b5a7b2f9a973cdd1fa005c2e8799e09e04 (diff)
fix printf warnings
Diffstat (limited to 'progs/tests/arbfptest1.c')
-rw-r--r--progs/tests/arbfptest1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/arbfptest1.c b/progs/tests/arbfptest1.c
index ed1ed01652e..45d05125b26 100644
--- a/progs/tests/arbfptest1.c
+++ b/progs/tests/arbfptest1.c
@@ -70,7 +70,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++)
{