X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fflipscreen3d.c;h=e72d8dce8725f7890ceb739345591ad41d35f17b;hp=14cb2767f0e29d724d8bff1fd1a5b8331d0794f5;hb=6a1da724858673ac40aa13a9612340d8bed8c7b9;hpb=96bdd7cf6ea60c418a76921acaf0e34d6f5be930 diff --git a/hacks/glx/flipscreen3d.c b/hacks/glx/flipscreen3d.c index 14cb2767..e72d8dce 100644 --- a/hacks/glx/flipscreen3d.c +++ b/hacks/glx/flipscreen3d.c @@ -439,7 +439,7 @@ void getSnapshot (ModeInfo *modeinfo) if (status) { - const char *s = gluErrorString (status); + const char *s = (char *) gluErrorString (status); fprintf (stderr, "%s: error mipmapping %dx%d texture: %s\n", progname, ximage->width, ximage->height, (s ? s : "(unknown)"));