Fix 32bit build.

This commit is contained in:
Zoltan Szabadka 2015-05-07 19:45:21 +02:00
parent 7c277c3ef7
commit f3e71e441e

View File

@ -231,7 +231,7 @@ static BROTLI_INLINE uint32_t BrotliReadBits(
if ((32 - br->bit_pos_) < ((uint32_t) n_bits)) { if ((32 - br->bit_pos_) < ((uint32_t) n_bits)) {
BrotliFillBitWindow(br); BrotliFillBitWindow(br);
} }
val = (br->val_ >> br->bit_pos_) & Bitmask(n_bits); val = (br->val_ >> br->bit_pos_) & BitMask(n_bits);
#endif /* BROTLI_USE_64_BITS */ #endif /* BROTLI_USE_64_BITS */
#ifdef BROTLI_DECODE_DEBUG #ifdef BROTLI_DECODE_DEBUG
printf("[BrotliReadBits] %010d %2d val: %6x\n", printf("[BrotliReadBits] %010d %2d val: %6x\n",