mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 17:59:09 +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:
|
ftCurr:
|
||||||
PCurrency(aResultValue)^ := floatres / 10000;
|
PCurrency(aResultValue)^ := floatres / 10000;
|
||||||
ftComp:
|
ftComp:
|
||||||
PComp(aResultValue)^ := floatres;
|
PComp(aResultValue)^ := Comp(floatres);
|
||||||
end;
|
end;
|
||||||
end else if aResultType^.Kind in [tkQWord, tkInt64] then
|
end else if aResultType^.Kind in [tkQWord, tkInt64] then
|
||||||
PQWord(aResultValue)^ := regstack[0] or (QWord(regstack[1]) shl 32)
|
PQWord(aResultValue)^ := regstack[0] or (QWord(regstack[1]) shl 32)
|
||||||
|
Loading…
Reference in New Issue
Block a user