summaryrefslogtreecommitdiffstats
path: root/arithmetic
diff options
context:
space:
mode:
authorplunky <plunky@NetBSD.org>2011-08-31 16:24:54 +0000
committerplunky <plunky@NetBSD.org>2011-08-31 16:24:54 +0000
commite4a1f12e7e44b2b62ece74c9ea36354fa944acf9 (patch)
tree7b2f6b6fab996c47c42c962d0211d2fffdd0ec0d /arithmetic
parent8fdb2354b50bedf84e0744346e974d308ded6a1b (diff)
downloadbsdgames-darwin-e4a1f12e7e44b2b62ece74c9ea36354fa944acf9.tar.gz
bsdgames-darwin-e4a1f12e7e44b2b62ece74c9ea36354fa944acf9.tar.zst
bsdgames-darwin-e4a1f12e7e44b2b62ece74c9ea36354fa944acf9.zip
NULL does not need a cast
Diffstat (limited to 'arithmetic')
-rw-r--r--arithmetic/arithmetic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arithmetic/arithmetic.c b/arithmetic/arithmetic.c
index 696208c6..bd6c8141 100644
--- a/arithmetic/arithmetic.c
+++ b/arithmetic/arithmetic.c
@@ -1,4 +1,4 @@
-/* $NetBSD: arithmetic.c,v 1.25 2009/08/27 00:21:45 dholland Exp $ */
+/* $NetBSD: arithmetic.c,v 1.26 2011/08/31 16:24:55 plunky Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\
#if 0
static char sccsid[] = "@(#)arithmetic.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: arithmetic.c,v 1.25 2009/08/27 00:21:45 dholland Exp $");
+__RCSID("$NetBSD: arithmetic.c,v 1.26 2011/08/31 16:24:55 plunky Exp $");
#endif
#endif /* not lint */
@@ -139,7 +139,7 @@ main(int argc, char **argv)
usage();
/* Seed the random-number generator. */
- srandom((int)time((time_t *)NULL));
+ srandom((int)time(NULL));
(void)signal(SIGINT, intr);