diff options
author | plunky <plunky@NetBSD.org> | 2011-09-01 07:18:50 +0000 |
---|---|---|
committer | plunky <plunky@NetBSD.org> | 2011-09-01 07:18:50 +0000 |
commit | 05e32d2c4644c0f6f1cef31873e8d2d0642efa1c (patch) | |
tree | 9f4e83ad0ad219db146ca6ac4d5f8d2b835ee08a /phantasia | |
parent | e4a1f12e7e44b2b62ece74c9ea36354fa944acf9 (diff) | |
download | bsdgames-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 'phantasia')
-rw-r--r-- | phantasia/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phantasia/misc.c b/phantasia/misc.c index 5dd4d8ee..59785376 100644 --- a/phantasia/misc.c +++ b/phantasia/misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: misc.c,v 1.20 2011/08/31 16:24:56 plunky Exp $ */ +/* $NetBSD: misc.c,v 1.21 2011/09/01 07:18:50 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" : NULL), NULL); + (Wizard ? "-S" : (char *) NULL), (char *) NULL); exit(0); /* NOTREACHED */ } |