X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fflipflop.c;h=1aadee77de347218b97282688a1375577650b5af;hp=6e1593d9b106b72e61848091620f6e3df3afd44e;hb=ffd8c0873576a9e3065696a624dce6b766b77062;hpb=9c9d475ff889ed8be02e8ce8c17da28b93278fca diff --git a/hacks/glx/flipflop.c b/hacks/glx/flipflop.c index 6e1593d9..1aadee77 100644 --- a/hacks/glx/flipflop.c +++ b/hacks/glx/flipflop.c @@ -48,8 +48,8 @@ #define countof(x) (sizeof((x))/sizeof((*x))) static XrmOptionDescRec opts[] = { - {"+rotate", ".flipflop.rotate", XrmoptionNoArg, (caddr_t) "false" }, - {"-rotate", ".flipflop.rotate", XrmoptionNoArg, (caddr_t) "true" }, + {"+rotate", ".flipflop.rotate", XrmoptionNoArg, "false" }, + {"-rotate", ".flipflop.rotate", XrmoptionNoArg, "true" }, }; @@ -57,7 +57,7 @@ static XrmOptionDescRec opts[] = { static int rotate, wire, clearbits; static argtype vars[] = { - {(caddr_t *) &rotate, "rotate", "Rotate", "True", t_Bool}, + { &rotate, "rotate", "Rotate", "True", t_Bool}, }; ModeSpecOpt flipflop_opts = {countof(opts), opts, countof(vars), vars, NULL};