Skip to content
Snippets Groups Projects
Commit 299bddfc authored by Ben Gamari's avatar Ben Gamari
Browse files

CmmToC: Fix width of shift operations

Under C's implicit widening rules, the result of an operation like (a >>
b) where a::Word8 and b::Word will have type Word, yet we want Word.

(cherry picked from commit e19e9e71)
parent 934fce23
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