http://x.cybermirror.org/R5contrib/xscreensaver-1.21.tar.Z
[xscreensaver] / hacks / imsmap.c
index 8c36bccbe5351f29736b99698c0640e8ce84db52..d8b1c088c51a2ac4ecdfcd0a9d7296fcfa676d79 100644 (file)
@@ -369,7 +369,7 @@ static void
 cycle (dpy)
      Display *dpy;
 {
-  XColor *colors = malloc (npixels * sizeof (XColor));
+  XColor *colors = (XColor *) malloc (npixels * sizeof (XColor));
   time_t stop;
   int i;
   for (i = 0; i < npixels; i++)