summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-04-21 14:51:49 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-04-21 14:51:49 +0000
commit8eb2fe0e15c70dce08b7882b67df978552f01f7e (patch)
tree06d45325c08ee93707e66e3b503402a6d16fe429
parentd93b68f17aa4bc980fcda57e8efe29a831a44cdc (diff)
added a cast
-rw-r--r--progs/samples/quad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/samples/quad.c b/progs/samples/quad.c
index 5b721a4452..193850abc4 100644
--- a/progs/samples/quad.c
+++ b/progs/samples/quad.c
@@ -99,7 +99,7 @@ char *texFileName = 0;
static void CALLBACK ErrorHandler(GLenum which)
{
- fprintf(stderr, "Quad Error: %s\n", gluErrorString(which));
+ fprintf(stderr, "Quad Error: %s\n", (char *) gluErrorString(which));
}
typedef void (GLAPIENTRY *callback_t)();