summaryrefslogtreecommitdiffstats
path: root/phantasia
diff options
context:
space:
mode:
authorplunky <plunky@NetBSD.org>2011-08-31 16:24:54 +0000
committerplunky <plunky@NetBSD.org>2011-08-31 16:24:54 +0000
commite4a1f12e7e44b2b62ece74c9ea36354fa944acf9 (patch)
tree7b2f6b6fab996c47c42c962d0211d2fffdd0ec0d /phantasia
parent8fdb2354b50bedf84e0744346e974d308ded6a1b (diff)
downloadbsdgames-darwin-e4a1f12e7e44b2b62ece74c9ea36354fa944acf9.tar.gz
bsdgames-darwin-e4a1f12e7e44b2b62ece74c9ea36354fa944acf9.tar.zst
bsdgames-darwin-e4a1f12e7e44b2b62ece74c9ea36354fa944acf9.zip
NULL does not need a cast
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 663bf519..5dd4d8ee 100644
--- a/phantasia/misc.c
+++ b/phantasia/misc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: misc.c,v 1.19 2009/08/31 08:27:16 dholland Exp $ */
+/* $NetBSD: misc.c,v 1.20 2011/08/31 16:24:56 plunky Exp $ */
/*
* misc.c Phantasia miscellaneous support routines
@@ -682,7 +682,7 @@ death(const char *how)
if (ch == 'Y') {
cleanup(FALSE);
execl(_PATH_GAMEPROG, "phantasia", "-s",
- (Wizard ? "-S" : (char *) NULL), (char *) NULL);
+ (Wizard ? "-S" : NULL), NULL);
exit(0);
/* NOTREACHED */
}