From 47ebb9e1ddccae90002749e3bdd71f5ac44f4626 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 10 Nov 2009 00:07:40 +0100 Subject: [PATCH] Fix compilation warning on OpenBSD (Thanks bapt) --- src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.c b/src/util.c index 149af2da..f17bd6e1 100644 --- a/src/util.c +++ b/src/util.c @@ -148,7 +148,7 @@ void start_application(const char *command) { shell = "/bin/sh"; /* This is the child */ - execl(shell, shell, "-c", command, NULL); + execl(shell, shell, "-c", command, (void*)NULL); /* not reached */ } exit(0); -- 2.39.5