aboutsummaryrefslogtreecommitdiff
path: root/tcc.c
diff options
context:
space:
mode:
authorVlad Vissoultchev <wqweto@gmail.com>2016-03-14 18:06:42 +0200
committerVlad Vissoultchev <wqweto@gmail.com>2016-03-14 18:06:42 +0200
commit712eca44d5121dcf62031753e066e3fb6dc66492 (patch)
treee23e0c10cbf76969342e0565942562079bb090a6 /tcc.c
parent9d778c7bb68fbc4be1b3d04f752d656ebb906e9f (diff)
downloadtinycc-712eca44d5121dcf62031753e066e3fb6dc66492.tar.gz
tinycc-712eca44d5121dcf62031753e066e3fb6dc66492.tar.bz2
Revert spawnvp param cast and use `no-incompatible-pointer-types` in build-tcc.bat
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);