summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pixman/pixman-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pixman/pixman-utils.c b/pixman/pixman-utils.c
index 4a3a835..2c2dddd 100644
--- a/pixman/pixman-utils.c
+++ b/pixman/pixman-utils.c
@@ -206,7 +206,7 @@ pixman_contract_from_float (uint32_t *dst,
for (i = 0; i < width; ++i)
{
- uint8_t a, r, g, b;
+ uint32_t a, r, g, b;
a = float_to_unorm (src[i].a, 8);
r = float_to_unorm (src[i].r, 8);