Explorar o código

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

git-svn-id: trunk@28707 -
nickysn %!s(int64=11) %!d(string=hai) anos
pai
achega
2e0707f465
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;