aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arm-gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arm-gen.c b/arm-gen.c
index 9e176a5..9feae1b 100644
--- a/arm-gen.c
+++ b/arm-gen.c
@@ -749,7 +749,7 @@ void gfunc_call(int nb_args)
gv(RC_INT);
#ifdef TCC_ARM_EABI
if((vtop[-nb_args].type.ref->type.t & VT_BTYPE) == VT_STRUCT
- && type_size(&vtop[-nb_args].type, &align) <= 4) {
+ && type_size(&vtop[-nb_args].type.ref->type, &align) <= 4) {
SValue tmp;
tmp=vtop[-nb_args];
vtop[-nb_args]=vtop[-nb_args+1];