aboutsummaryrefslogtreecommitdiff
path: root/i386-gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386-gen.c')
-rw-r--r--i386-gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386-gen.c b/i386-gen.c
index a3d2743..a2564f3 100644
--- a/i386-gen.c
+++ b/i386-gen.c
@@ -471,7 +471,7 @@ void gfunc_prolog(CType *func_type)
addr += size;
}
sym_push(sym->v & ~SYM_FIELD, type,
- VT_LOCAL | VT_LVAL, param_addr);
+ VT_LOCAL | lvalue_type(type->t), param_addr);
param_index++;
}
func_ret_sub = 0;