X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fcubenetic.c;h=a7399dd17a3bc26a658c77b6a24a8f3b3ec754db;hp=7fa06e1bc03fe1826806bb1a19dd319665f5d5db;hb=6a1da724858673ac40aa13a9612340d8bed8c7b9;hpb=96bdd7cf6ea60c418a76921acaf0e34d6f5be930 diff --git a/hacks/glx/cubenetic.c b/hacks/glx/cubenetic.c index 7fa06e1b..a7399dd1 100644 --- a/hacks/glx/cubenetic.c +++ b/hacks/glx/cubenetic.c @@ -1,4 +1,4 @@ -/* cubenetic, Copyright (c) 2002 Jamie Zawinski +/* cubenetic, Copyright (c) 2002, 2003 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -324,7 +324,7 @@ init_texture (ModeInfo *mi) cc->texture_height = texture_size; i = texture_size * texture_size * 4; - cc->texture = (char *) malloc (i); + cc->texture = (unsigned char *) malloc (i); memset (cc->texture, 0xFF, i); }