mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-01 23:09:32 +01:00
* fix range error
git-svn-id: trunk@10424 -
This commit is contained in:
parent
83b7f81f81
commit
85e904cb36
@ -1983,7 +1983,7 @@ implementation
|
||||
(torddef(ttypeconvnode(n).left.resultdef).ordtype in [s32bit,u32bit])) or
|
||||
{ or an ordconstnode which was/is a valid cardinal }
|
||||
((n.nodetype=ordconstn) and
|
||||
(tordconstnode(n).value>=low(longint)) and
|
||||
(tordconstnode(n).value>=int64(low(longint))) and
|
||||
(tordconstnode(n).value<=high(cardinal)))) then
|
||||
begin
|
||||
if ((n.nodetype=typeconvn) and
|
||||
@ -1995,8 +1995,8 @@ implementation
|
||||
end;
|
||||
result:=false;
|
||||
end;
|
||||
|
||||
|
||||
|
||||
|
||||
function docheckremove64bittypeconvs(n: tnode): boolean;
|
||||
begin
|
||||
result:=false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user