Promote unsigned short to unsigned int explicitly
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 9 Jan 2018 09:26:29 +0000 (10:26 +0100)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 9 Jan 2018 09:26:29 +0000 (10:26 +0100)
commit8b95e0e460baa499e54c19d29bf761d34c25badc
tree3ac318600758dfc9fe39dfcbb74eca79ef53356e
parent85467ec308f8621a5410c007491797b7b1847601
Promote unsigned short to unsigned int explicitly

...to avoid default promotion to signed int, which causes undefined
behaviour in the shift expression.
pixman/pixman-solid-fill.c