Fixed signed integer overflow
Fixed signed integer overflow

(1 << num_bits)  was converted to a signed integer that caused an overflow (as num_bits was usually set to 31). It worked fine since the value was later converted back to uint32_t but signed integer overflow is technically an undefined behavior and it was triggering errors in our automated tests.
google/basis_universal,google/basis_universal,google/basis_universal,google/basis_universal,google/basis_universal,google/basis_universal