Browse Source

Fix tentryfile.getrealsize soft fpux80 code

Pierre Muller 1 week ago
parent
commit
5c9a86794d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/entfile.pas

+ 1 - 1
compiler/entfile.pas

@@ -1329,7 +1329,7 @@ begin
 	floatx80_ba:=swapendian_floatx80entryreal(floatx80_ba);
 {$ifdef FPC_BIG_ENDIAN}
       floatx80_e.high:=pword(@floatx80_ba[0])^;
-      floatx80_e.low:=pqword(@floatx80_ba[8])^;
+      floatx80_e.low:=pqword(@floatx80_ba[2])^;
 {$else}
       floatx80_e.high:=pword(@floatx80_ba[8])^;
       floatx80_e.low:=pqword(@floatx80_ba[0])^;