mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 14:09:59 +02:00
* avoid a warning regarding automatic type conversion of Comp
git-svn-id: trunk@42035 -
This commit is contained in:
parent
c4c47652d4
commit
3493579c2d
@ -420,7 +420,7 @@ begin
|
||||
ftCurr:
|
||||
PCurrency(aResultValue)^ := floatres / 10000;
|
||||
ftComp:
|
||||
PComp(aResultValue)^ := floatres;
|
||||
PComp(aResultValue)^ := Comp(floatres);
|
||||
end;
|
||||
end else if aResultType^.Kind in [tkQWord, tkInt64] then
|
||||
PQWord(aResultValue)^ := regstack[0] or (QWord(regstack[1]) shl 32)
|
||||
|
Loading…
Reference in New Issue
Block a user