X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fboxed.c;h=1200e62c7a339949af85a1de29062b95200b261e;hb=e4fa2ac140f7bc56571373a7b7eb585fa4500e38;hp=cdf04a52a80744b01c39315fd7fab1c80c5ea83a;hpb=4cecfc89e5e889c7232693897c06168fb378bd5c;p=xscreensaver diff --git a/hacks/glx/boxed.c b/hacks/glx/boxed.c index cdf04a52..1200e62c 100644 --- a/hacks/glx/boxed.c +++ b/hacks/glx/boxed.c @@ -1,8 +1,7 @@ /* thebox --- 3D bouncing balls that explode */ -#if !defined( lint ) && !defined( SABER ) +#if 0 static const char sccsid[] = "@(#)boxed.c 0.9 01/09/26 xlockmore"; - #endif /*- @@ -67,7 +66,7 @@ static XrmOptionDescRec opts[] = { }; static argtype vars[] = { - {(caddr_t *) &planetary, "planetary", "Planetary", DEF_PLANETARY, t_Bool}, + {&planetary, "planetary", "Planetary", DEF_PLANETARY, t_Bool}, }; */ @@ -1092,7 +1091,7 @@ pinit(ModeInfo * mi) GL_RGB, GL_UNSIGNED_BYTE, gp->tex1); if (i) { - const char *s = gluErrorString (i); + const char *s = (char *) gluErrorString (i); fprintf (stderr, "%s: error mipmapping texture: %s\n", progname, (s ? s : "(unknown)")); exit (1);