You've already forked lazarus-ccr
Limit the values range
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@469 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1421,7 +1421,7 @@ begin
|
||||
SetLength(a,j);
|
||||
if ( j > 0 ) then begin
|
||||
for k := 0 to Pred(j) do begin
|
||||
a[k] := Random(High(LongWord)-2);
|
||||
a[k] := Random(High(Word)-2);
|
||||
end;
|
||||
|
||||
localObj.SetLength(j);
|
||||
@ -1453,7 +1453,7 @@ begin
|
||||
SetLength(a,j);
|
||||
if ( j > 0 ) then begin
|
||||
for k := 0 to Pred(j) do begin
|
||||
a[k] := Random(High(LongWord)-1);
|
||||
a[k] := Random(High(Word)-1);
|
||||
end;
|
||||
|
||||
localObj.SetLength(j);
|
||||
|
Reference in New Issue
Block a user