Skip to content
Snippets Groups Projects
Commit 15acdb8e authored by Petter Reinholdtsen's avatar Petter Reinholdtsen
Browse files

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.
parent a6766c94
1 merge request!32Avoided undefined bit shifting of signed value.
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment