X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fklein.c;h=8d508330ae0674879f7a5bc05cc330e81834ba77;hb=e4fa2ac140f7bc56571373a7b7eb585fa4500e38;hp=b068e3f4e7ff8259be004e41437ea1b78e9d9730;hpb=96bdd7cf6ea60c418a76921acaf0e34d6f5be930;p=xscreensaver diff --git a/hacks/glx/klein.c b/hacks/glx/klein.c index b068e3f4..8d508330 100644 --- a/hacks/glx/klein.c +++ b/hacks/glx/klein.c @@ -64,7 +64,7 @@ enum { SEASHELL, SWALLOWTAIL, BOHEM, - SURFACE_LAST, + SURFACE_LAST }; /* primitives to draw with @@ -78,7 +78,7 @@ enum { MY_POINTS = 0, MY_LINES, MY_LINE_LOOP, - MY_PRIM_LAST, + MY_PRIM_LAST }; @@ -99,10 +99,10 @@ static XrmOptionDescRec opts[] = { }; static argtype vars[] = { - {(caddr_t *) &rand, "rand", "Random", DEF_RANDOM, t_Bool}, - {(caddr_t *) &do_spin, "spin", "Spin", DEF_SPIN, t_Bool}, - {(caddr_t *) &do_wander, "wander", "Wander", DEF_WANDER, t_Bool}, - {(caddr_t *) &speed, "speed", "Speed", DEF_SPEED, t_Int}, + {&rand, "rand", "Random", DEF_RANDOM, t_Bool}, + {&do_spin, "spin", "Spin", DEF_SPIN, t_Bool}, + {&do_wander, "wander", "Wander", DEF_WANDER, t_Bool}, + {&speed, "speed", "Speed", DEF_SPEED, t_Int}, };