summaryrefslogtreecommitdiffstats
path: root/progs/samples
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 /progs/samples
parentd93b68f17aa4bc980fcda57e8efe29a831a44cdc (diff)
downloadexternal_mesa3d-8eb2fe0e15c70dce08b7882b67df978552f01f7e.zip
external_mesa3d-8eb2fe0e15c70dce08b7882b67df978552f01f7e.tar.gz
external_mesa3d-8eb2fe0e15c70dce08b7882b67df978552f01f7e.tar.bz2
added a cast
Diffstat (limited to 'progs/samples')
-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 5b721a4..193850a 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)();