Browse Source

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

git-svn-id: trunk@28707 -
nickysn 11 years ago
parent
commit
2e0707f465
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/ncgrtti.pas

+ 1 - 1
compiler/ncgrtti.pas

@@ -656,7 +656,7 @@ implementation
                if def.elementdef.needs_inittable then
                if def.elementdef.needs_inittable then
                  write_rtti_reference(def.elementdef,rt)
                  write_rtti_reference(def.elementdef,rt)
                else
                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 unit name }
                write_string(current_module.realmodulename^);
                write_string(current_module.realmodulename^);
              end;
              end;