fix uninitialized warnings with 'type.ref'

This commit is contained in:
grischka
2009-12-19 22:10:13 +01:00
parent 3020a4765d
commit 41e112360f
2 changed files with 4 additions and 0 deletions

View File

@ -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)