openbsd-ports/games/omega/patches/patch-omega_c

13 lines
438 B
Plaintext
Raw Normal View History

$OpenBSD: patch-omega_c,v 1.1.1.1 2001/07/28 16:31:47 lebel Exp $
--- omega.c.orig Fri Jan 1 22:59:47 1999
+++ omega.c Fri Jul 27 21:06:36 2001
@@ -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((time_t *)NULL);
else if (environment == E_RESTORE)
seed = store;
else