mmbit_iterate_bounded: make block_width u64a

This commit is contained in:
Justin Viiret 2016-04-05 15:18:33 +10:00 committed by Matthew Barr
parent 7a6c6f46ed
commit e034ccb9b4

View File

@ -742,7 +742,7 @@ u32 mmbit_iterate_bounded_big(const u8 *bits, u32 total_bits, u32 it_start, u32
for (;;) {
assert(level <= max_level);
u32 block_width = MMB_KEY_BITS << ks;
u64a block_width = MMB_KEY_BITS << ks;
u64a block_base = key * block_width;
u64a block_min = MAX(it_start, block_base);
u64a block_max = MIN(it_end, block_base + block_width - 1);