From 25a75681875810cd650f496ad8f6d657424431f0 Mon Sep 17 00:00:00 2001 From: ache Date: Tue, 11 Mar 1997 14:06:52 +0000 Subject: Fix srandom arg type according to Lite2 --- games/fortune/fortune/fortune.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'games/fortune') diff --git a/games/fortune/fortune/fortune.c b/games/fortune/fortune/fortune.c index d3adb7b..8bbf893 100644 --- a/games/fortune/fortune/fortune.c +++ b/games/fortune/fortune/fortune.c @@ -200,7 +200,7 @@ char *av[]; #endif init_prob(); - srandom((int)(time((time_t *) NULL) ^ getpid())); + srandom((unsigned long)(time((time_t *) NULL) ^ getpid())); do { get_fort(); } while ((Short_only && fortlen() > SLEN) || -- cgit v1.1