* 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:
Jonas Maebe 2008-02-20 21:27:32 +00:00
parent db34ed44e4
commit 469452b0ba

View File

@ -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);