From 6e3945622eb35efcb2c205a921df91bd7a1bbfd9 Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Thu, 8 Dec 2005 23:38:50 +0000 Subject: [PATCH] fix sentinel warning --- common/os_calls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/os_calls.c b/common/os_calls.c index 9adbeeec..45b60bd7 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -796,7 +796,7 @@ g_execlp3(char* a1, char* a2, char* a3) #if defined(_WIN32) return 0; #else - return execlp(a1, a2, a3); + return execlp(a1, a2, a3, (void*)0); #endif } @@ -808,7 +808,7 @@ g_execlp11(char* a1, char* a2, char* a3, char* a4, char* a5, char* a6, #if defined(_WIN32) return 0; #else - return execlp(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11); + return execlp(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, (void*)0); #endif }