From df0267b28799422393bfa70b5cf76608923ad8e7 Mon Sep 17 00:00:00 2001 From: minux Date: Fri, 11 Apr 2014 23:49:53 -0400 Subject: tcc, libtcc: fix build on windows with latest mingw. --- tcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcc.c') diff --git a/tcc.c b/tcc.c index 74a5f1b..392efca 100644 --- a/tcc.c +++ b/tcc.c @@ -78,7 +78,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