summaryrefslogtreecommitdiffstats
path: root/cribbage/instr.c
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 /cribbage/instr.c
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 'cribbage/instr.c')
-rw-r--r--cribbage/instr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cribbage/instr.c b/cribbage/instr.c
index 9f1376b9..5cd8f71f 100644
--- a/cribbage/instr.c
+++ b/cribbage/instr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: instr.c,v 1.13 2011/08/31 16:24:55 plunky Exp $ */
+/* $NetBSD: instr.c,v 1.14 2011/09/01 07:18:50 plunky Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)instr.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: instr.c,v 1.13 2011/08/31 16:24:55 plunky Exp $");
+__RCSID("$NetBSD: instr.c,v 1.14 2011/09/01 07:18:50 plunky Exp $");
#endif
#endif /* not lint */
@@ -85,7 +85,7 @@ instructions(void)
warn("dup2");
_exit(1);
}
- execl("/bin/sh", "sh", "-c", path, NULL);
+ execl("/bin/sh", "sh", "-c", path, (char *) NULL);
warn(NULL);
_exit(1);
default: