diff options
author | Moonchild <moonchild@palemoon.org> | 2022-04-05 14:51:06 +0200 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-05 14:51:06 +0200 |
commit | 6e6b5d89964ea726b264c711bdf6f02fe0c006f5 (patch) | |
tree | a56f756f47a7ae3e45d66ccf02279ac2d22f0d1f /gfx/cairo/libpixman/src/pixman-solid-fill.c | |
parent | 12635c1c22573509bd33bcdb13be0e9aa4676a4a (diff) | |
download | uxp-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.c | 8 |
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 |