Fix typo in code added by b018bac9c8

master
Thomas Preud'homme 2014-03-29 14:57:29 +08:00
parent b018bac9c8
commit f272407353
1 changed files with 1 additions and 1 deletions

View File

@ -5771,7 +5771,7 @@ static void gen_function(Sym *sym)
sym_push2(&local_stack, SYM_FIELD, 0, 0);
gfunc_prolog(&sym->type);
#ifdef CONFIG_TCC_BCHECK
if (tcc_state->do_bound_check
if (tcc_state->do_bounds_check
&& !strcmp(get_tok_str(sym->v, NULL), "main")) {
int i;