summaryrefslogtreecommitdiffstats
path: root/progs/redbook/tess.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/redbook/tess.c')
-rw-r--r--progs/redbook/tess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/redbook/tess.c b/progs/redbook/tess.c
index bf3409eac72..238a469aff2 100644
--- a/progs/redbook/tess.c
+++ b/progs/redbook/tess.c
@@ -79,7 +79,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);
}