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

* fixed warning in TOmfRecord_MODEND.DecodeFrom

git-svn-id: trunk@30592 -
nickysn 10 жил өмнө
parent
commit
07ebd29911
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      compiler/omfbase.pas

+ 1 - 1
compiler/omfbase.pas

@@ -1123,7 +1123,7 @@ implementation
         begin
           if LogicalStartAddress then
             begin
-              if EndData>=RawRecord.RecordLength then
+              if NextOfs>=RawRecord.RecordLength then
                 internalerror(2015040305);
               EndData:=RawRecord.RawData[NextOfs];
               Inc(NextOfs);