From 8eb2fe0e15c70dce08b7882b67df978552f01f7e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 21 Apr 2003 14:51:49 +0000 Subject: [PATCH] added a cast --- progs/samples/quad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)(); -- 2.30.2