2
0
Эх сурвалжийг харах

* Use correct sizeof to check if entry size is large enough

Pierre Muller 2 жил өмнө
parent
commit
24acfb8064
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      compiler/entfile.pas

+ 1 - 1
compiler/entfile.pas

@@ -1260,7 +1260,7 @@ begin
       ppu_log('getrealsize(sizeofreal='+tostr(sizeofreal)+')='));
       inc_log_level;
 {$endif}
-      if entryidx+sizeof(floatx80_e)>entry.size then
+      if entryidx+sizeof(floatx80_ba)>entry.size then
        begin
          error:=true;
          result:=0;