diff --git a/compiler/x86/rax86int.pas b/compiler/x86/rax86int.pas index a914c05e28..fc3778e514 100644 --- a/compiler/x86/rax86int.pas +++ b/compiler/x86/rax86int.pas @@ -1083,6 +1083,7 @@ Unit Rax86int; begin if not(ttypesym(sym).typedef.typ in [recorddef,objectdef]) then Message(asmr_e_wrong_sym_type); + size:=ttypesym(sym).typedef.size; end; fieldvarsym : begin