Parcourir la source

Add explicit typecast to avoid range check error

git-svn-id: trunk@40001 -
pierre il y a 7 ans
Parent
commit
378e1dfaa4
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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,