Browse Source

* fixed writing of dynarray rtti in the i8086 far data memory models

git-svn-id: trunk@28707 -
nickysn 11 năm trước cách đây
mục cha
commit
2e0707f465
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      compiler/ncgrtti.pas

+ 1 - 1
compiler/ncgrtti.pas

@@ -656,7 +656,7 @@ implementation
                if def.elementdef.needs_inittable then
                  write_rtti_reference(def.elementdef,rt)
                else
-                 current_asmdata.asmlists[al_rtti].concat(Tai_const.Create_pint(0));
+                 current_asmdata.asmlists[al_rtti].concat(Tai_const.Create_nil_dataptr);
                { write unit name }
                write_string(current_module.realmodulename^);
              end;