summaryrefslogtreecommitdiffstats
path: root/phantasia
diff options
context:
space:
mode:
authorjsm <jsm@NetBSD.org>2005-02-15 12:56:20 +0000
committerjsm <jsm@NetBSD.org>2005-02-15 12:56:20 +0000
commit38363f564a3551b2bbad6b3c7c4426e7faace013 (patch)
tree6585da9cc7ba63a91ab77e8e9d53cdee8152f020 /phantasia
parent2d2096fe16a45e25ea696042af076c06f41f4278 (diff)
downloadbsdgames-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 'phantasia')
-rw-r--r--phantasia/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/phantasia/misc.c b/phantasia/misc.c
index 850b51ee..cf869ec7 100644
--- a/phantasia/misc.c
+++ b/phantasia/misc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: misc.c,v 1.12 2004/04/11 13:35:06 he Exp $ */
+/* $NetBSD: misc.c,v 1.13 2005/02/15 12:56:20 jsm Exp $ */
/*
* misc.c Phantasia miscellaneous support routines
@@ -673,7 +673,7 @@ death(how)
if (ch == 'Y') {
cleanup(FALSE);
execl(_PATH_GAMEPROG, "phantasia", "-s",
- (Wizard ? "-S" : (char *) NULL), 0);
+ (Wizard ? "-S" : (char *) NULL), (char *) NULL);
exit(0);
/* NOTREACHED */
}