mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-10 05:46:14 +02:00
* fix test for targets with FPC_COMP_IS_INT64 defined
This commit is contained in:
parent
c2eb68330c
commit
5d9968366b
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user