X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fspheremonics.c;h=efc4d46a2b806ab43bc56c617b700415c2d47703;hp=8e45a4a4266cf3645f9900594e42724a0af2325f;hb=e4fa2ac140f7bc56571373a7b7eb585fa4500e38;hpb=96a411663168b0ba5432b407a83be55f3df0c802 diff --git a/hacks/glx/spheremonics.c b/hacks/glx/spheremonics.c index 8e45a4a4..efc4d46a 100644 --- a/hacks/glx/spheremonics.c +++ b/hacks/glx/spheremonics.c @@ -165,14 +165,14 @@ static XrmOptionDescRec opts[] = { }; static argtype vars[] = { - {(caddr_t *) &do_spin, "spin", "Spin", DEF_SPIN, t_String}, - {(caddr_t *) &do_wander, "wander", "Wander", DEF_WANDER, t_Bool}, - {(caddr_t *) &res, "resolution", "Resolution", DEF_RESOLUTION, t_Int}, - {(caddr_t *) &duration, "duration", "Duration", DEF_DURATION, t_Int}, - {(caddr_t *) &do_bbox, "bbox", "BBox", DEF_BBOX, t_Bool}, - {(caddr_t *) &do_grid, "grid", "Grid", DEF_GRID, t_Bool}, - {(caddr_t *) &smooth_p, "smooth", "Smooth", DEF_SMOOTH, t_Bool}, - {(caddr_t *) &static_parms, "parameters", "Parameters", DEF_PARMS, t_String}, + {&do_spin, "spin", "Spin", DEF_SPIN, t_String}, + {&do_wander, "wander", "Wander", DEF_WANDER, t_Bool}, + {&res, "resolution", "Resolution", DEF_RESOLUTION, t_Int}, + {&duration, "duration", "Duration", DEF_DURATION, t_Int}, + {&do_bbox, "bbox", "BBox", DEF_BBOX, t_Bool}, + {&do_grid, "grid", "Grid", DEF_GRID, t_Bool}, + {&smooth_p, "smooth", "Smooth", DEF_SMOOTH, t_Bool}, + {&static_parms, "parameters", "Parameters", DEF_PARMS, t_String}, }; ModeSpecOpt ccs_opts = {countof(opts), opts, countof(vars), vars, NULL};