浏览代码

Add explicit typecast to avoid range check error

git-svn-id: trunk@40001 -
pierre 7 年之前
父节点
当前提交
378e1dfaa4
共有 1 个文件被更改,包括 1 次插入1 次删除
  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,