Explorar el Código

* fixed warning in TOmfRecord_MODEND.DecodeFrom

git-svn-id: trunk@30592 -
nickysn hace 10 años
padre
commit
07ebd29911
Se han modificado 1 ficheros con 1 adiciones y 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);