summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-03-11 14:06:52 +0000
committerache <ache@FreeBSD.org>1997-03-11 14:06:52 +0000
commit25a75681875810cd650f496ad8f6d657424431f0 (patch)
treef28bdf1f18c2a36a898af4f3ea141c17e25db3ec /games
parenteb6e762489b9edc7555b057405e07f8dd34c8859 (diff)
downloadFreeBSD-src-25a75681875810cd650f496ad8f6d657424431f0.zip
FreeBSD-src-25a75681875810cd650f496ad8f6d657424431f0.tar.gz
Fix srandom arg type according to Lite2
Diffstat (limited to 'games')
-rw-r--r--games/fortune/fortune/fortune.c2
1 files changed, 1 insertions, 1 deletions
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) ||
OpenPOWER on IntegriCloud