Skip to content
Snippets Groups Projects
Commit 22ec823c authored by Aaron Jacobs's avatar Aaron Jacobs Committed by Christopher Dunn
Browse files

Remove undefined behavior from a left shift of a negative value.

Fixed by shifting a positive value, then negating the result.

(Credit: Richard Trieu)
parent ffea45bb
No related branches found
No related tags found
No related merge requests found
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