Closed sytsereitsma closed 5 years ago
On a 32 bit system rust runs into a compilation error:
error[E0308]: mismatched types --> src/bitstream.rs:78:21 | 78 | self.acc |= (u64::from(v)) << self.bits; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u32, found u64 error[E0277]: no implementation for `u32 |= u64` --> src/bitstream.rs:78:18 | 78 | self.acc |= (u64::from(v)) << self.bits; | ^^ no implementation for `u32 |= u64` | = help: the trait `std::ops::BitOrAssign<u64>` is not implemented for `u32`
This pull request fixes that.
Thanks
On a 32 bit system rust runs into a compilation error:
This pull request fixes that.