summaryrefslogtreecommitdiff
path: root/progs/samples
diff options
context:
space:
mode:
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 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)();