mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 18:06:12 +02:00
* increased very low (64k) TBits limit to +/- 2GB, like most datastructures.
Artifact of TP times? Mantis 12431. Further increasing (e.g. for 64-bit) needs cleanup (ptr(u)int?) first. git-svn-id: trunk@12443 -
This commit is contained in:
parent
f0c236b992
commit
658dc2d8cd
@ -301,9 +301,9 @@ type
|
||||
const
|
||||
BITSHIFT = 5;
|
||||
MASK = 31; {for longs that are 32-bit in size}
|
||||
MaxBitRec = $FFFF Div (SizeOf(longint));
|
||||
// to further increase, signed integer limits have to be researched.
|
||||
MaxBitRec = $7FFFFFFF Div (SizeOf(longint));
|
||||
MaxBitFlags = MaxBitRec * 32;
|
||||
|
||||
type
|
||||
TBitArray = array[0..MaxBitRec - 1] of cardinal;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user