summaryrefslogtreecommitdiffstats
path: root/progs/redbook/tesswind.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/redbook/tesswind.c')
-rw-r--r--progs/redbook/tesswind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/redbook/tesswind.c b/progs/redbook/tesswind.c
index 86639d48824..7d00c9f907d 100644
--- a/progs/redbook/tesswind.c
+++ b/progs/redbook/tesswind.c
@@ -178,7 +178,7 @@ void CALLBACK errorCallback(GLenum errorCode)
const GLubyte *estring;
estring = gluErrorString(errorCode);
- fprintf(stderr, "Tessellation Error: %s\n", estring);
+ fprintf(stderr, "Tessellation Error: %s\n", (char *) estring);
exit(0);
}