g1mv / density

Superfast compression library
Apache License 2.0
1.02k stars 48 forks source link

Fix some errors picked up by Coverity Scan. #50

Closed nemequ closed 9 years ago

nemequ commented 9 years ago

They are all the same issue; 1 is left shifted as an int then the result is cast to a uint_fast64_t instead of the shift being performed on the 64-bit value.

g1mv commented 9 years ago

Thank you !