1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-03 03:56:32 -04:00

OS/2: Ensure correct type of NULL pointer for variadic spawnlp.

This commit is contained in:
Kalle Olavi Niemitalo 2007-03-10 23:12:31 +02:00 committed by Witold Filipczyk
parent 8931ec44f2
commit c2570007c1

View File

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