Add explicit typecast to avoid range check error

git-svn-id: trunk@40001 -
This commit is contained in:
pierre 2018-10-20 22:19:08 +00:00
parent 0bcf9a51d9
commit 378e1dfaa4

View File

@ -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,