X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fflurry.c;h=51a241bc364ed872daaf98c1d09c74d152f7becc;hb=ffd8c0873576a9e3065696a624dce6b766b77062;hp=3571bece03dad6ec4fe4f22127e5787a966fddeb;hpb=96a411663168b0ba5432b407a83be55f3df0c802;p=xscreensaver diff --git a/hacks/glx/flurry.c b/hacks/glx/flurry.c index 3571bece..51a241bc 100644 --- a/hacks/glx/flurry.c +++ b/hacks/glx/flurry.c @@ -41,11 +41,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. static const char sccsid[] = "@(#)flurry.c 4.07 97/11/24 xlockmore"; #endif -/*- - * due to a Bug/feature in VMS X11/Intrinsic.h has to be placed before xlock. - * otherwise caddr_t is not defined correctly - */ - #define DEF_PRESET "classic" #define DEF_BRIGHTNESS "8" @@ -70,7 +65,7 @@ static XrmOptionDescRec opts[] = { }; static argtype vars[] = { - {(caddr_t *) &preset_str, "preset", "Preset", DEF_PRESET, t_String}, + {&preset_str, "preset", "Preset", DEF_PRESET, t_String}, }; #define countof(x) (sizeof((x))/sizeof((*x)))