trifectatechfoundation / zlib-rs

A safer zlib
zlib License
148 stars 15 forks source link

fix bug that relied on 32-bit overflow on windows #90

Closed folkertdev closed 7 months ago

folkertdev commented 7 months ago

now the behavior is the same as zlib-ng on windows (for other platforms nothing should have change, and the bitwise and with u64::MAX should just get optimized out).