diff options
author | Adam Jackson <ajax@redhat.com> | 2019-10-15 16:33:46 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2019-10-15 16:33:46 -0400 |
commit | 880f48b2b474c9d110dc921c2ace89ffee39d0e1 (patch) | |
tree | d1faf5fef88566c12a870e6c671b59ae2ee098e6 | |
parent | 4897ad0a3fe08a3dcdc8b76082f6d3a85d95bf52 (diff) | |
download | pixman-880f48b2b474c9d110dc921c2ace89ffee39d0e1.tar.gz |
pixman-sse2: Fix an undefined left shift
../pixman/pixman-sse2.c:3346:14: runtime error: left shift of 41891 by 16 places cannot be represented in type 'int'
-rw-r--r-- | pixman/pixman-sse2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pixman/pixman-sse2.c b/pixman/pixman-sse2.c index aa0f84d..1db9441 100644 --- a/pixman/pixman-sse2.c +++ b/pixman/pixman-sse2.c @@ -3333,8 +3333,8 @@ sse2_fill (pixman_implementation_t *imp, if (bpp == 8) { - uint8_t b; - uint16_t w; + uint32_t b; + uint32_t w; stride = stride * (int) sizeof (uint32_t) / 1; byte_line = (uint8_t *)(((uint8_t *)bits) + stride * y + x); |