Silence FIXME and compiler warning

This commit is contained in:
Vlad Vissoultchev
2016-03-13 04:18:43 +02:00
parent ceccd3ead3
commit 8e4d64be2f
2 changed files with 4 additions and 1 deletions

2
tcc.c
View File

@ -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, (const char *const*)argv);
int ret = spawnvp(P_NOWAIT, prog, (char *const*)argv);
if (-1 == ret)
return ret;
cwait(&ret, ret, WAIT_CHILD);