mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 08:30:54 +02:00
* fix test for targets with FPC_COMP_IS_INT64 defined
This commit is contained in:
parent
98574a88a3
commit
e80560e59c
@ -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