patch-bluemoon_c 366 B

12345678910111213
  1. $OpenBSD: patch-bluemoon_c,v 1.3 2014/05/23 18:09:58 bcallah Exp $
  2. --- bluemoon.c.orig Wed May 21 08:25:41 2014
  3. +++ bluemoon.c Wed May 21 15:31:24 2014
  4. @@ -399,7 +399,7 @@ int main(int argc, char *argv[])
  5. if (argc == 2)
  6. srand(seed = atoi(argv[1]));
  7. else
  8. - srand(seed = (int)time((long *)0));
  9. + srand(seed = (int)time((time_t *)0));
  10. init_vars();