瀏覽代碼

* Increased the bounds of TBooleanArray to prevent a range check error while linking Lazarus.

Yuriy Sydorov 3 年之前
父節點
當前提交
59fca3a01d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/link.pas

+ 1 - 1
compiler/link.pas

@@ -98,7 +98,7 @@ interface
          function PostProcessMachExecutable(const fn: string; isdll: boolean): boolean;
        end;
 
-      TBooleanArray = array [1..1024] of boolean;
+      TBooleanArray = array [1..100000] of boolean;
       PBooleanArray = ^TBooleanArray;
 
       TInternalLinker = class(TLinker)