Browse Source

Use getptruint for pointer type const, fixes i8086 ppudump problems

git-svn-id: trunk@37242 -
pierre 8 years ago
parent
commit
bd428ce6ad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/utils/ppuutils/ppudump.pp

+ 1 - 1
compiler/utils/ppuutils/ppudump.pp

@@ -2565,7 +2565,7 @@ begin
                    write  ([space,'  PointerType : ']);
                    readderef('',constdef.TypeRef);
                    constdef.ConstType:=ctInt;
-                   constdef.VInt:=getaint;
+                   constdef.VInt:=getptruint;
                    writeln([space,'        Value : ',constdef.VInt])
                  end;
                conststring,