From 1e8a61e09b55f04f4b7338e5559ae05fbc01abb1 Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Sat, 10 Mar 2007 23:12:31 +0200 Subject: [PATCH] OS/2: Ensure correct type of NULL pointer for variadic spawnlp. --- src/osdep/os2/os2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osdep/os2/os2.c b/src/osdep/os2/os2.c index 922e0c952..8812b4bdc 100644 --- a/src/osdep/os2/os2.c +++ b/src/osdep/os2/os2.c @@ -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);