* fix test for targets with FPC_COMP_IS_INT64 defined

This commit is contained in:
florian 2021-08-27 22:31:11 +02:00
parent 98574a88a3
commit e80560e59c

View File

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