From 712eca44d5121dcf62031753e066e3fb6dc66492 Mon Sep 17 00:00:00 2001 From: Vlad Vissoultchev Date: Mon, 14 Mar 2016 18:06:42 +0200 Subject: Revert spawnvp param cast and use `no-incompatible-pointer-types` in build-tcc.bat --- tcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcc.c') diff --git a/tcc.c b/tcc.c index 32c966e..9daf6e6 100644 --- a/tcc.c +++ b/tcc.c @@ -132,7 +132,7 @@ static void help(void) #include static int execvp_win32(const char *prog, char **argv) { - int ret = spawnvp(P_NOWAIT, prog, (char *const*)argv); + int ret = spawnvp(P_NOWAIT, prog, (const char *const*)argv); if (-1 == ret) return ret; cwait(&ret, ret, WAIT_CHILD); -- cgit v1.3.1