X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fdemon.c;h=fcb965980417b319749145d8edfa3b17d5ccd97b;hp=ba6c2b5d62905b676d7d34ae031142982ca73b76;hb=ffd8c0873576a9e3065696a624dce6b766b77062;hpb=96a411663168b0ba5432b407a83be55f3df0c802 diff --git a/hacks/demon.c b/hacks/demon.c index ba6c2b5d..fcb96598 100644 --- a/hacks/demon.c +++ b/hacks/demon.c @@ -77,16 +77,16 @@ static int neighbors; static XrmOptionDescRec opts[] = { - {(char *) "-neighbors", (char *) ".demon.neighbors", XrmoptionSepArg, (caddr_t) NULL} + {"-neighbors", ".demon.neighbors", XrmoptionSepArg, 0} }; static argtype vars[] = { - {(caddr_t *) & neighbors, (char *) "neighbors", (char *) "Neighbors", (char *) DEF_NEIGHBORS, t_Int} + {&neighbors, "neighbors", "Neighbors", DEF_NEIGHBORS, t_Int} }; static OptionStruct desc[] = { - {(char *) "-neighbors num", (char *) "squares 4 or 8, hexagons 6, triangles 3, 9 or 12"} + {"-neighbors num", "squares 4 or 8, hexagons 6, triangles 3, 9 or 12"} }; ModeSpecOpt demon_opts =