浏览代码

Fix tentryfile.getrealsize soft fpux80 code

Pierre Muller 1 周之前
父节点
当前提交
5c9a86794d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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])^;