From: Michael Stapelberg Date: Mon, 9 Nov 2009 23:07:40 +0000 (+0100) Subject: Fix compilation warning on OpenBSD (Thanks bapt) X-Git-Tag: 3.e~6^2~246 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=47ebb9e1ddccae90002749e3bdd71f5ac44f4626;p=i3%2Fi3 Fix compilation warning on OpenBSD (Thanks bapt) --- 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);