Skip to content

Explicitly cast byte to uint32_t before left-shifting.

Jonathan Kew requested to merge jfkthame/pixman:patch-1 into master

To avoid potential signed integer overflow (undefined behavior), as implicit integer promotion means the operand becomes a (signed) int.

(Issue originally reported at https://bugzilla.mozilla.org/show_bug.cgi?id=1577669)

Merge request reports