mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
OS/2: Ensure correct type of NULL pointer for variadic spawnlp.
This commit is contained in:
parent
76ced47dfe
commit
1e8a61e09b
@ -168,7 +168,7 @@ exe(unsigned char *path)
|
||||
|
||||
if (is_xterm()) flags |= P_BACKGROUND;
|
||||
|
||||
pid = spawnlp(flags, shell, shell, "/c", path, NULL);
|
||||
pid = spawnlp(flags, shell, shell, "/c", path, (char *) NULL);
|
||||
if (pid != -1)
|
||||
waitpid(pid, &ret, 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user