소스 검색

* 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)