mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-04 19:58:37 +02:00
* fix test for targets with FPC_COMP_IS_INT64 defined
(cherry picked from commit e80560e59c
)
This commit is contained in:
parent
5894c13c63
commit
0a4d6df7b9
@ -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