aboutsummaryrefslogtreecommitdiff
path: root/tccgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccgen.c')
-rw-r--r--tccgen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tccgen.c b/tccgen.c
index d7f8c0d..5d92e5f 100644
--- a/tccgen.c
+++ b/tccgen.c
@@ -4033,6 +4033,7 @@ ST_FUNC void unary(void)
tcc_error("__builtin_va_start expects a local variable");
vtop->r &= ~(VT_LVAL | VT_REF);
vtop->type = char_pointer_type;
+ vtop->c.i += 8;
vstore();
}
break;