Avoided undefined bit shifting of signed value.
Use multiplication instead, allowing the compiler to optimize to bitshifts if it believe it to be safe.
Fixes a few issues discovered by --enable-gcc-sanitize-address in !31 (merged).
Merge request reports
Activity
Please register or sign in to reply