summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-04-21 14:50:49 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-04-21 14:50:49 +0000
commitff389b00a5b76e93308163fcb858913d8594af80 (patch)
tree218acdf6ce244074ee855f4174c3c944df44e81d
parent95210bc8064113e9810c8ea46e2afbb7d5f80fcb (diff)
casts
-rw-r--r--progs/redbook/tess.c2
-rw-r--r--progs/redbook/tesswind.c2
-rw-r--r--progs/redbook/trim.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/progs/redbook/tess.c b/progs/redbook/tess.c
index bf3409eac7..238a469aff 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);
}
diff --git a/progs/redbook/tesswind.c b/progs/redbook/tesswind.c
index 86639d4882..7d00c9f907 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);
}
diff --git a/progs/redbook/trim.c b/progs/redbook/trim.c
index 26f474814c..f17674f684 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);
}