From: Brian Paul Date: Mon, 21 Apr 2003 14:51:49 +0000 (+0000) Subject: added a cast X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8eb2fe0e15c70dce08b7882b67df978552f01f7e;p=mesa.git added a cast --- 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)();