diff options
author | jsm <jsm@NetBSD.org> | 2005-02-15 12:56:20 +0000 |
---|---|---|
committer | jsm <jsm@NetBSD.org> | 2005-02-15 12:56:20 +0000 |
commit | 38363f564a3551b2bbad6b3c7c4426e7faace013 (patch) | |
tree | 6585da9cc7ba63a91ab77e8e9d53cdee8152f020 /cribbage/instr.c | |
parent | 2d2096fe16a45e25ea696042af076c06f41f4278 (diff) | |
download | bsdgames-darwin-38363f564a3551b2bbad6b3c7c4426e7faace013.tar.gz bsdgames-darwin-38363f564a3551b2bbad6b3c7c4426e7faace013.tar.zst bsdgames-darwin-38363f564a3551b2bbad6b3c7c4426e7faace013.zip |
Cast last argument of execl to (char *).
Reviewed by <hubertf>.
Diffstat (limited to 'cribbage/instr.c')
-rw-r--r-- | cribbage/instr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cribbage/instr.c b/cribbage/instr.c index 823f9f53..f4d9d800 100644 --- a/cribbage/instr.c +++ b/cribbage/instr.c @@ -1,4 +1,4 @@ -/* $NetBSD: instr.c,v 1.10 2003/08/07 09:37:10 agc Exp $ */ +/* $NetBSD: instr.c,v 1.11 2005/02/15 12:56:20 jsm 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.10 2003/08/07 09:37:10 agc Exp $"); +__RCSID("$NetBSD: instr.c,v 1.11 2005/02/15 12:56:20 jsm Exp $"); #endif #endif /* not lint */ @@ -85,7 +85,7 @@ instructions() warn("dup2"); _exit(1); } - execl("/bin/sh", "sh", "-c", path, NULL); + execl("/bin/sh", "sh", "-c", path, (char *) NULL); warn(NULL); _exit(1); default: |