X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fcage.c;h=18c2bda5381be14e269b2d72c60ae0d262340710;hp=f8965441807b8df00729e9bccc77df8644725a36;hb=6a1da724858673ac40aa13a9612340d8bed8c7b9;hpb=96bdd7cf6ea60c418a76921acaf0e34d6f5be930 diff --git a/hacks/glx/cage.c b/hacks/glx/cage.c index f8965441..18c2bda5 100644 --- a/hacks/glx/cage.c +++ b/hacks/glx/cage.c @@ -357,7 +357,7 @@ pinit(ModeInfo *mi) GL_RGB, GL_UNSIGNED_BYTE, WoodTextureData); if (status) { - const char *s = gluErrorString (status); + const char *s = (char *) gluErrorString (status); fprintf (stderr, "%s: error mipmapping texture: %s\n", progname, (s ? s : "(unknown)")); exit (1);