aboutsummaryrefslogtreecommitdiffstats
path: root/progs/samples/quad.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/samples/quad.c')
-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 5b721a44529..193850abc45 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)();