diff options
author | plunky <plunky@NetBSD.org> | 2011-08-31 16:24:54 +0000 |
---|---|---|
committer | plunky <plunky@NetBSD.org> | 2011-08-31 16:24:54 +0000 |
commit | e4a1f12e7e44b2b62ece74c9ea36354fa944acf9 (patch) | |
tree | 7b2f6b6fab996c47c42c962d0211d2fffdd0ec0d /fortune | |
parent | 8fdb2354b50bedf84e0744346e974d308ded6a1b (diff) | |
download | bsdgames-darwin-e4a1f12e7e44b2b62ece74c9ea36354fa944acf9.tar.gz bsdgames-darwin-e4a1f12e7e44b2b62ece74c9ea36354fa944acf9.tar.zst bsdgames-darwin-e4a1f12e7e44b2b62ece74c9ea36354fa944acf9.zip |
NULL does not need a cast
Diffstat (limited to 'fortune')
-rw-r--r-- | fortune/strfile/strfile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fortune/strfile/strfile.c b/fortune/strfile/strfile.c index f753d942..8e6a487a 100644 --- a/fortune/strfile/strfile.c +++ b/fortune/strfile/strfile.c @@ -1,4 +1,4 @@ -/* $NetBSD: strfile.c,v 1.33 2011/08/17 18:17:40 dholland Exp $ */ +/* $NetBSD: strfile.c,v 1.34 2011/08/31 16:24:55 plunky Exp $ */ /*- * Copyright (c) 1989, 1993 @@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\ #if 0 static char sccsid[] = "@(#)strfile.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: strfile.c,v 1.33 2011/08/17 18:17:40 dholland Exp $"); +__RCSID("$NetBSD: strfile.c,v 1.34 2011/08/31 16:24:55 plunky Exp $"); #endif #endif /* not lint */ #endif /* __NetBSD__ */ @@ -433,7 +433,7 @@ randomize(void) off_t tmp; off_t *sp; - srandom((int)(time((time_t *) NULL) + getpid())); + srandom((int)(time(NULL) + getpid())); Tbl.str_flags |= STR_RANDOM; cnt = Tbl.str_numstr; |