1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-09 14:21:03 +03:00

Fix some extra instances of the constants addressed by [83e47ca006].

FossilOrigin-Name: 0354ab279f0ea9915a14d1ed972b4aa6b5a27fd1
This commit is contained in:
dan
2010-03-03 16:02:05 +00:00
parent 0b2864cb34
commit 3bbe761c9b
3 changed files with 11 additions and 21 deletions

View File

@@ -931,9 +931,9 @@ u8 sqlite3GetVarint32(const unsigned char *p, u32 *v){
/* a: p0<<28 | p2<<14 | p4 (unmasked) */
if (!(a&0x80))
{
/* Walues between 268435456 and 34359738367 */
a &= (0x1f<<28)|(0x7f<<14)|(0x7f);
b &= (0x1f<<28)|(0x7f<<14)|(0x7f);
/* Values between 268435456 and 34359738367 */
a &= SLOT_4_2_0;
b &= SLOT_4_2_0;
b = b<<7;
*v = a | b;
return 5;