From 0e5ac4a92495c162590cedb58c6f6fc1d9ba199a Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 30 Sep 2011 12:38:31 +0200 Subject: Solved run-time error in debug due to type cast --- pixman/pixman/pixman-sse2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pixman') diff --git a/pixman/pixman/pixman-sse2.c b/pixman/pixman/pixman-sse2.c index 6689c53a2..da6bcdfa0 100644 --- a/pixman/pixman/pixman-sse2.c +++ b/pixman/pixman/pixman-sse2.c @@ -3373,7 +3373,7 @@ pixman_fill_sse2 (uint32_t *bits, if (w >= 1) { - *(uint8_t *)d = data; + *(uint8_t *)d = data&0xff; w -= 1; d += 1; } -- cgit v1.2.3