summaryrefslogtreecommitdiff
path: root/gfx/cairo/libpixman/src/pixman-solid-fill.c
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-04-05 14:51:06 +0200
committerMoonchild <moonchild@palemoon.org>2022-04-05 14:51:06 +0200
commit6e6b5d89964ea726b264c711bdf6f02fe0c006f5 (patch)
treea56f756f47a7ae3e45d66ccf02279ac2d22f0d1f /gfx/cairo/libpixman/src/pixman-solid-fill.c
parent12635c1c22573509bd33bcdb13be0e9aa4676a4a (diff)
downloaduxp-6e6b5d89964ea726b264c711bdf6f02fe0c006f5.tar.gz
Issue #1795 - Update libpixman
Diffstat (limited to 'gfx/cairo/libpixman/src/pixman-solid-fill.c')
-rw-r--r--gfx/cairo/libpixman/src/pixman-solid-fill.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gfx/cairo/libpixman/src/pixman-solid-fill.c b/gfx/cairo/libpixman/src/pixman-solid-fill.c
index 5f9fef6306..4694ebc700 100644
--- a/gfx/cairo/libpixman/src/pixman-solid-fill.c
+++ b/gfx/cairo/libpixman/src/pixman-solid-fill.c
@@ -30,10 +30,10 @@ static uint32_t
color_to_uint32 (const pixman_color_t *color)
{
return
- (color->alpha >> 8 << 24) |
- (color->red >> 8 << 16) |
- (color->green & 0xff00) |
- (color->blue >> 8);
+ ((unsigned int) color->alpha >> 8 << 24) |
+ ((unsigned int) color->red >> 8 << 16) |
+ ((unsigned int) color->green & 0xff00) |
+ ((unsigned int) color->blue >> 8);
}
static argb_t