]> git.sur5r.net Git - i3/i3/commitdiff
Fix compilation warning on OpenBSD (Thanks bapt)
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 9 Nov 2009 23:07:40 +0000 (00:07 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 9 Nov 2009 23:07:40 +0000 (00:07 +0100)
src/util.c

index 149af2dae32d43f0ac25f7f0ffe05387c1a0c846..f17bd6e1ec05e38441acd74fb3d1c37550f2fb9d 100644 (file)
@@ -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);