diff options
author | Adam Jackson <ajax@redhat.com> | 2019-11-01 14:47:15 -0400 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2019-11-13 20:00:20 +0000 |
commit | baed75faa988a39295c79e71932f26de68904eea (patch) | |
tree | 1fe9c92fdb1a48b1aa4a9981105a237df3ae5af5 | |
parent | 85acb0a933bffbce6af03339546aff0a1eab5096 (diff) | |
download | pixman-baed75faa988a39295c79e71932f26de68904eea.tar.gz |
pixman-mmx: Fix undefined left-shifts
-rw-r--r-- | pixman/pixman-mmx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pixman/pixman-mmx.c b/pixman/pixman-mmx.c index dec3974..df30581 100644 --- a/pixman/pixman-mmx.c +++ b/pixman/pixman-mmx.c @@ -3950,7 +3950,7 @@ mmx_fetch_a8 (pixman_iter_t *iter, const uint32_t *mask) while (w && (((uintptr_t)dst) & 15)) { - *dst++ = *(src++) << 24; + *dst++ = (uint32_t)*(src++) << 24; w--; } @@ -3977,7 +3977,7 @@ mmx_fetch_a8 (pixman_iter_t *iter, const uint32_t *mask) while (w) { - *dst++ = *(src++) << 24; + *dst++ = (uint32_t)*(src++) << 24; w--; } |