From 8636b161b333b18525b6f5ffc5139079c29c0d63 Mon Sep 17 00:00:00 2001 From: brian Date: Mon, 9 Jul 2001 09:24:06 +0000 Subject: Fix the type of the NULL arg to execl() Idea from: Theo de Raadt --- games/wump/wump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'games/wump') diff --git a/games/wump/wump.c b/games/wump/wump.c index e8cc264..e670533 100644 --- a/games/wump/wump.c +++ b/games/wump/wump.c @@ -762,7 +762,7 @@ puff of greasy black smoke! (poof)\n"); err(1, "open %s", _PATH_WUMPINFO); if (dup2(fd, 0) == -1) err(1, "dup2"); - (void)execl("/bin/sh", "sh", "-c", pager, NULL); + (void)execl("/bin/sh", "sh", "-c", pager, (char *)NULL); err(1, "exec sh -c %s", pager); case -1: err(1, "fork"); -- cgit v1.1