Browse Source

* use tai_const.create_nil_dataptr instead of .create_pint(0) when writing the
leading nils in the enum rtti in lookup mode

git-svn-id: trunk@34626 -

nickysn 8 years ago
parent
commit
8672d25e9a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/ncgrtti.pas

+ 1 - 1
compiler/ncgrtti.pas

@@ -1332,7 +1332,7 @@ implementation
                 begin
                   while o<tenumsym(syms[i]).value do
                     begin
-                      tcb.emit_tai(Tai_const.create_pint(0),ptruinttype);
+                      tcb.emit_tai(Tai_const.create_nil_dataptr,ptruinttype);
                       inc(o);
                     end;
                   inc(o);