Browse Source

* fixed warning in TOmfRecord_MODEND.DecodeFrom

git-svn-id: trunk@30592 -
nickysn 10 years ago
parent
commit
07ebd29911
1 changed files with 1 additions and 1 deletions
  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);