Fix compilation warning on OpenBSD (Thanks bapt)

This commit is contained in:
Michael Stapelberg 2009-11-10 00:07:40 +01:00
parent 6655307951
commit 47ebb9e1dd
1 changed files with 1 additions and 1 deletions

View 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);