Avoided undefined bit shifting of signed value.
- Mar 09, 2025
-
-
Petter Reinholdtsen authored
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.
-