From e4a1f12e7e44b2b62ece74c9ea36354fa944acf9 Mon Sep 17 00:00:00 2001 From: plunky Date: Wed, 31 Aug 2011 16:24:54 +0000 Subject: NULL does not need a cast --- fortune/strfile/strfile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fortune/strfile/strfile.c') 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; -- cgit v1.2.3