Explorar el Código

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

Yuriy Sydorov hace 3 años
padre
commit
59fca3a01d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)