mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 01:39:27 +02:00
Fix writing of low qword of floatx80 real type into 10-byte array on big endian systems
This commit is contained in:
parent
3db060e47a
commit
8ae28b4846
@ -1945,7 +1945,7 @@ begin
|
||||
softfloat_exception_mask:=local_softfloat_exception_mask;
|
||||
{$ifdef FPC_BIG_ENDIAN}
|
||||
pword(@floatx80_ba[0])^:=floatx80_e.high;
|
||||
pqword(@floatx80_ba[8])^:=floatx80_e.low;
|
||||
unaligned(pqword(@floatx80_ba[2])^):=floatx80_e.low;
|
||||
{$else}
|
||||
pword(@floatx80_ba[8])^:=floatx80_e.high;
|
||||
pqword(@floatx80_ba[0])^:=floatx80_e.low;
|
||||
|
Loading…
Reference in New Issue
Block a user