From 07ebd299117e2b0d9fa3375f5f28d319dab002f2 Mon Sep 17 00:00:00 2001 From: nickysn Date: Tue, 14 Apr 2015 18:41:41 +0000 Subject: [PATCH] * fixed warning in TOmfRecord_MODEND.DecodeFrom git-svn-id: trunk@30592 - --- compiler/omfbase.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/omfbase.pas b/compiler/omfbase.pas index 3bdcda3f26..214e340265 100644 --- a/compiler/omfbase.pas +++ b/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);