Fix typo in code added by b018bac9c8

This commit is contained in:
Thomas Preud'homme 2014-03-29 14:57:29 +08:00
parent b018bac9c8
commit f272407353

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;