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