mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 16:26:13 +02:00
Add explicit typecast to avoid range check error
git-svn-id: trunk@40001 -
This commit is contained in:
parent
0bcf9a51d9
commit
378e1dfaa4
@ -2603,7 +2603,7 @@ begin
|
|||||||
write ([space,' PointerType : ']);
|
write ([space,' PointerType : ']);
|
||||||
readderef('',constdef.TypeRef);
|
readderef('',constdef.TypeRef);
|
||||||
constdef.ConstType:=ctInt;
|
constdef.ConstType:=ctInt;
|
||||||
constdef.VInt:=getptruint;
|
constdef.VInt:=int64(getptruint);
|
||||||
writeln([space,' Value : ',constdef.VInt])
|
writeln([space,' Value : ',constdef.VInt])
|
||||||
end;
|
end;
|
||||||
conststring,
|
conststring,
|
||||||
|
Loading…
Reference in New Issue
Block a user