* avoid a warning regarding automatic type conversion of Comp

git-svn-id: trunk@42035 -
This commit is contained in:
svenbarth 2019-05-10 15:49:23 +00:00
parent c4c47652d4
commit 3493579c2d

View File

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