added a cast
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 21 Apr 2003 14:51:49 +0000 (14:51 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 21 Apr 2003 14:51:49 +0000 (14:51 +0000)
progs/samples/quad.c

index 5b721a445297853b985103059f3613bfbf36cac1..193850abc45af25b0c72fd237c1f13f2cb0daec2 100644 (file)
@@ -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)();