mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 20:09:25 +02:00
* avoid check being wrongly "optimized" away (left and right
side were convered to int64, after which the expression was considered to be never true) git-svn-id: trunk@10372 -
This commit is contained in:
parent
db34ed44e4
commit
469452b0ba
@ -131,7 +131,7 @@ begin
|
||||
internalerror(200706093)
|
||||
else if c.signed then
|
||||
result:=c.svalue
|
||||
else if c.uvalue>high(int64) then
|
||||
else if c.uvalue>qword(high(int64)) then
|
||||
internalerror(200706094)
|
||||
else
|
||||
result:=int64(c.uvalue);
|
||||
|
Loading…
Reference in New Issue
Block a user