From c96f6a27c3654d9b37ce17714ba983b42dfbc904 Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 9 Jul 2001 07:02:08 +0000 Subject: correct type on last arg to execl(); nordin@cse.ogi.edu --- games/phantasia/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'games/phantasia') diff --git a/games/phantasia/misc.c b/games/phantasia/misc.c index b943effdfb9..d293cd0b14c 100644 --- a/games/phantasia/misc.c +++ b/games/phantasia/misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.7 2001/02/04 02:51:25 pjanzen Exp $ */ +/* $OpenBSD: misc.c,v 1.8 2001/07/09 07:04:29 deraadt Exp $ */ /* $NetBSD: misc.c,v 1.2 1995/03/24 03:59:03 cgd Exp $ */ /* @@ -932,7 +932,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 */ } -- cgit v1.2.3-59-g8ed1b