From 230944a8f7b03d2b27dd65e2649f2067c31c65ed Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Tue, 27 Jun 2017 16:31:36 +0200 Subject: win32/mingw: fix signatures of the *execv*() family of functions The function signatures were inherited from Git's source code, but are inconsistent with the declarations in the POSIX standard. This requires quite a few changes in quite a few callers, unfortunately. Signed-off-by: Johannes Schindelin Signed-off-by: Ron Yorston --- coreutils/timeout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/timeout.c') diff --git a/coreutils/timeout.c b/coreutils/timeout.c index 4cdde4366..68188b389 100644 --- a/coreutils/timeout.c +++ b/coreutils/timeout.c @@ -140,7 +140,7 @@ int timeout_main(int argc UNUSED_PARAM, char **argv) if (argv[0] == NULL) bb_show_usage(); - if ((ret=mingw_spawn_proc(argv)) == -1) + if ((ret=mingw_spawn_proc((const char **)argv)) == -1) bb_perror_msg_and_die("can't execute '%s'", argv[0]); h = (HANDLE)ret; -- cgit v1.2.3-55-g6feb