Fix compilation warning on OpenBSD (Thanks bapt)
This commit is contained in:
parent
6655307951
commit
47ebb9e1dd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user