Explorar o código

* fixed warning in TOmfRecord_MODEND.DecodeFrom

git-svn-id: trunk@30592 -
nickysn %!s(int64=10) %!d(string=hai) anos
pai
achega
07ebd29911
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);