X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fstairs.c;h=33e73ab03f9318af5d9bb557ce9b6ca1c8948e88;hp=6832bf4117bc0d48f34acad2a58f71ac3a0edf3b;hb=6a1da724858673ac40aa13a9612340d8bed8c7b9;hpb=96bdd7cf6ea60c418a76921acaf0e34d6f5be930 diff --git a/hacks/glx/stairs.c b/hacks/glx/stairs.c index 6832bf41..33e73ab0 100644 --- a/hacks/glx/stairs.c +++ b/hacks/glx/stairs.c @@ -473,7 +473,7 @@ pinit(void) GL_RGB, GL_UNSIGNED_BYTE, WoodTextureData); if (status) { - const char *s = gluErrorString (status); + const char *s = (char *) gluErrorString (status); fprintf (stderr, "%s: error mipmapping %dx%d texture: %s\n", progname, WoodTextureWidth, WoodTextureHeight, (s ? s : "(unknown)"));