memorysafety / zlib-rs

A safer zlib
zlib License
75 stars 6 forks source link

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

Closed folkertdev closed 2 months ago

folkertdev commented 2 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).