summaryrefslogtreecommitdiffstats
path: root/rogue
diff options
context:
space:
mode:
authorplunky <plunky@NetBSD.org>2011-09-01 07:18:50 +0000
committerplunky <plunky@NetBSD.org>2011-09-01 07:18:50 +0000
commit05e32d2c4644c0f6f1cef31873e8d2d0642efa1c (patch)
tree9f4e83ad0ad219db146ca6ac4d5f8d2b835ee08a /rogue
parente4a1f12e7e44b2b62ece74c9ea36354fa944acf9 (diff)
downloadbsdgames-darwin-05e32d2c4644c0f6f1cef31873e8d2d0642efa1c.tar.gz
bsdgames-darwin-05e32d2c4644c0f6f1cef31873e8d2d0642efa1c.tar.zst
bsdgames-darwin-05e32d2c4644c0f6f1cef31873e8d2d0642efa1c.zip
reinstate NULL cast by request, where the NULL was being passed as a vararg
Diffstat (limited to 'rogue')
-rw-r--r--rogue/machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rogue/machdep.c b/rogue/machdep.c
index 531c175e..072e4d69 100644
--- a/rogue/machdep.c
+++ b/rogue/machdep.c
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.18 2011/08/31 16:24:56 plunky Exp $ */
+/* $NetBSD: machdep.c,v 1.19 2011/09/01 07:18:51 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.18 2011/08/31 16:24:56 plunky Exp $");
+__RCSID("$NetBSD: machdep.c,v 1.19 2011/09/01 07:18:51 plunky Exp $");
#endif
#endif /* not lint */
@@ -481,7 +481,7 @@ md_shell(const char *shell)
case -1:
break;
case 0:
- execl(shell, shell, NULL);
+ execl(shell, shell, (char *)NULL);
_exit(255);
default:
waitpid(pid, &w, 0);