* fix test for targets with FPC_COMP_IS_INT64 defined

(cherry picked from commit e80560e59c)
This commit is contained in:
florian 2021-08-27 22:31:11 +02:00
parent 5894c13c63
commit 0a4d6df7b9

View File

@ -659,7 +659,11 @@ end;
constructor TCompComponent.Create(AOwner: TComponent); constructor TCompComponent.Create(AOwner: TComponent);
begin begin
inherited; inherited;
{$if defined(FPC_COMP_IS_INT64)}
F:=Round(4.56);
{$else defined(FPC_COMP_IS_INT64)}
F:=4.56; F:=4.56;
{$endif defined(FPC_COMP_IS_INT64)}
end; end;
{ TCurrencyComponent } { TCurrencyComponent }