summaryrefslogtreecommitdiff
path: root/games/omega/patches/patch-af
blob: bd212d5b2533d1e293146a42a81096a336d6c341 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-af,v 1.4 2003/12/31 18:07:47 ben Exp $

--- omega.c.orig	1999-01-01 20:00:09.000000000 -0800
+++ omega.c
@@ -187,7 +187,7 @@ void initrand(int environment, int level
     store = RANDFUNCTION();
   /* Pseudo Random Seed */
   if (environment == E_RANDOM)
-    seed = (int) time((long *)NULL);
+    seed = (int) time(NULL);
   else if (environment == E_RESTORE)
     seed = store;
   else