diff options
author | drh <drh@noemail.net> | 2010-08-05 11:56:01 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2010-08-05 11:56:01 +0000 |
commit | f6171e9bae63ae7eb3b77217031ce26f8a7d903d (patch) | |
tree | 8e5c02fc2635213271ae0bcaa1eaf7b47da4e03a /src/bitvec.c | |
parent | b9b49bf36b48798175f43dc7d3008b22043cb7f4 (diff) | |
download | sqlite-f6171e9bae63ae7eb3b77217031ce26f8a7d903d.tar.gz sqlite-f6171e9bae63ae7eb3b77217031ce26f8a7d903d.zip |
Make the size of a Bitvec object 512 bytes on all platforms, instead of
having the size depend on the size of a pointer. This makes testing easier.
FossilOrigin-Name: ca479f3de2927ccc05dc76d10e40c00b8e0c88d1
Diffstat (limited to 'src/bitvec.c')
-rw-r--r-- | src/bitvec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitvec.c b/src/bitvec.c index c0e25a4e6..47d33ea84 100644 --- a/src/bitvec.c +++ b/src/bitvec.c @@ -37,7 +37,7 @@ #include "sqliteInt.h" /* Size of the Bitvec structure in bytes. */ -#define BITVEC_SZ (sizeof(void*)*128) /* 512 on 32bit. 1024 on 64bit */ +#define BITVEC_SZ 512 /* Round the union size down to the nearest pointer boundary, since that's how ** it will be aligned within the Bitvec struct. */ |