Promote unsigned short to unsigned int explicitly
...to avoid default promotion to signed int, which causes undefined behaviour in the shift expression.
Loading
Please register or sign in to comment
...to avoid default promotion to signed int, which causes undefined behaviour in the shift expression.