From a1b71a393ad94549be57b624c446f7b31ad1ae37 Mon Sep 17 00:00:00 2001 From: Antti-Juhani Kaijanaho Date: Sun, 8 Apr 2007 18:59:07 +0100 Subject: GNUmakefile. ifile.c: start using -Werror, fix one warning --- lib/ifile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/ifile.c b/lib/ifile.c index b44b708..da67919 100644 --- a/lib/ifile.c +++ b/lib/ifile.c @@ -50,7 +50,7 @@ static int open_pipe(char const * s) } close(ps[0]); close(ps[1]); - execl("/bin/sh", "/bin/sh", "-c", s, 0); + execl("/bin/sh", "/bin/sh", "-c", s, (char*)0); fprintf(stderr, _("%s (child): failed to exec /bin/sh: %s\n"), get_progname(), strerror(errno)); _exit(1); -- cgit v1.2.3