aboutsummaryrefslogtreecommitdiff
path: root/i386-gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386-gen.c')
-rw-r--r--i386-gen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/i386-gen.c b/i386-gen.c
index 0bc41aa..bd53303 100644
--- a/i386-gen.c
+++ b/i386-gen.c
@@ -938,6 +938,7 @@ void gen_cvt_ftoi(int t)
CType ushort_type;
ushort_type.t = VT_SHORT | VT_UNSIGNED;
+ ushort_type.ref = 0;
gv(RC_FLOAT);
if (t != VT_INT)