Преглед изворни кода

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

git-svn-id: trunk@28707 -
nickysn пре 11 година
родитељ
комит
2e0707f465
1 измењених фајлова са 1 додато и 1 уклоњено
  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;