http://ftp.x.org/contrib/applications/xscreensaver-3.25.tar.gz
[xscreensaver] / hacks / screenhack.c
index 9664f803f7ff25d7fc58c4bad700e2c3bc6bd545..793c6e3ac7e6a6616d041c232a04aae9fec28a6d 100644 (file)
@@ -569,7 +569,7 @@ main (int argc, char **argv)
      seeded in any screenhack.  You do not need to seed the RNG again,
      it is done for you before your code is invoked. */
 # undef ya_rand_init
-  ya_rand_init ((int) time ((time_t *) 0));
+  ya_rand_init (0);
 
   screenhack (dpy, window); /* doesn't return */
   return 0;