aboutsummaryrefslogtreecommitdiff
path: root/tcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcc.c')
-rw-r--r--tcc.c2
1 files changed, 1 insertions, 1 deletions
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 <process.h>
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);