mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 22:07:56 +02:00
* fixed handling of currency in int_to_int conversions
git-svn-id: branches/jvmbackend@18741 -
This commit is contained in:
parent
48d63f2c75
commit
af489b99de
@ -222,7 +222,8 @@ implementation
|
||||
|
||||
function tjvmtypeconvnode.first_int_to_real: tnode;
|
||||
begin
|
||||
if not is_64bitint(left.resultdef) then
|
||||
if not is_64bitint(left.resultdef) and
|
||||
not is_currency(left.resultdef) then
|
||||
if is_signed(left.resultdef) or
|
||||
(left.resultdef.size<4) then
|
||||
inserttypeconv(left,s32inttype)
|
||||
|
Loading…
Reference in New Issue
Block a user