Browse Source

Add explicit typecast to avoid range check error

git-svn-id: trunk@40001 -
pierre 6 years ago
parent
commit
378e1dfaa4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/utils/ppuutils/ppudump.pp

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

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