aboutsummaryrefslogtreecommitdiff
path: root/pixman
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-09-30 12:38:31 +0200
committermarha <marha@users.sourceforge.net>2011-09-30 12:38:31 +0200
commit0e5ac4a92495c162590cedb58c6f6fc1d9ba199a (patch)
tree69e19e306fce0802948ae40f1e4f1e83a1802328 /pixman
parent73d82f7ac0d1add2697128c2e26c2432ffe172a5 (diff)
downloadvcxsrv-0e5ac4a92495c162590cedb58c6f6fc1d9ba199a.tar.gz
vcxsrv-0e5ac4a92495c162590cedb58c6f6fc1d9ba199a.tar.bz2
vcxsrv-0e5ac4a92495c162590cedb58c6f6fc1d9ba199a.zip
Solved run-time error in debug due to type cast
Diffstat (limited to 'pixman')
-rw-r--r--pixman/pixman/pixman-sse2.c2
1 files changed, 1 insertions, 1 deletions
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;
}