From 0d1a24d1a4226e1a7672a96a5378c80ae0556efb Mon Sep 17 00:00:00 2001 From: iadcode <18545429+iadcode@users.noreply.github.com> Date: Fri, 18 Jun 2021 13:18:00 +1000 Subject: [PATCH] Fix issue where NumberOfLineNumbers overflows for huge files --- Source/DebugEngine.DebugInfo.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/DebugEngine.DebugInfo.pas b/Source/DebugEngine.DebugInfo.pas index bdecf54..b1694e5 100644 --- a/Source/DebugEngine.DebugInfo.pas +++ b/Source/DebugEngine.DebugInfo.pas @@ -129,7 +129,7 @@ interface TSMapSourceLocation = packed record SegId: Byte; - NumberOfLineNumbers: Word; + NumberOfLineNumbers: DWORD; SourceLocationLength: Word; SourceLocation: array [0 .. 0] of SMapChar; end;