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 /rogue | |
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 'rogue')
-rw-r--r-- | rogue/machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rogue/machdep.c b/rogue/machdep.c index 8f66ef9e..531c175e 100644 --- a/rogue/machdep.c +++ b/rogue/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.17 2008/01/14 03:50:01 dholland Exp $ */ +/* $NetBSD: machdep.c,v 1.18 2011/08/31 16:24:56 plunky Exp $ */ /* * Copyright (c) 1988, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)machdep.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: machdep.c,v 1.17 2008/01/14 03:50:01 dholland Exp $"); +__RCSID("$NetBSD: machdep.c,v 1.18 2011/08/31 16:24:56 plunky Exp $"); #endif #endif /* not lint */ @@ -481,7 +481,7 @@ md_shell(const char *shell) case -1: break; case 0: - execl(shell, shell, (char *)NULL); + execl(shell, shell, NULL); _exit(255); default: waitpid(pid, &w, 0); |