diff options
author | ache <ache@FreeBSD.org> | 1997-03-11 14:06:52 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-03-11 14:06:52 +0000 |
commit | 25a75681875810cd650f496ad8f6d657424431f0 (patch) | |
tree | f28bdf1f18c2a36a898af4f3ea141c17e25db3ec /games | |
parent | eb6e762489b9edc7555b057405e07f8dd34c8859 (diff) | |
download | FreeBSD-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.c | 2 |
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) || |