aboutsummaryrefslogtreecommitdiff
path: root/pixman
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-09-14 07:09:35 +0000
committermarha <marha@users.sourceforge.net>2009-09-14 07:09:35 +0000
commit9876fe3e7c391077ed9bf0f5b2c38e0f89ef1c85 (patch)
tree3132ffefe614c8d369bef23c05f7ebb4027a65c1 /pixman
parent48bfb28bba3c19eeeb667581b9d9686eba070e98 (diff)
downloadvcxsrv-9876fe3e7c391077ed9bf0f5b2c38e0f89ef1c85.tar.gz
vcxsrv-9876fe3e7c391077ed9bf0f5b2c38e0f89ef1c85.tar.bz2
vcxsrv-9876fe3e7c391077ed9bf0f5b2c38e0f89ef1c85.zip
Solved debug run-time error in down-cast.
Diffstat (limited to 'pixman')
-rw-r--r--pixman/pixman/pixman-trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pixman/pixman/pixman-trap.c b/pixman/pixman/pixman-trap.c
index 962cbb39e..c08d0c3e6 100644
--- a/pixman/pixman/pixman-trap.c
+++ b/pixman/pixman/pixman-trap.c
@@ -136,8 +136,8 @@ _pixman_edge_multi_init (pixman_edge_t * e,
if (ne > 0)
{
- int nx = ne / e->dy;
- ne -= nx * e->dy;
+ pixman_fixed_48_16_t nx = ne / e->dy;
+ ne -= nx * (pixman_fixed_48_16_t)e->dy;
stepx += nx * e->signdx;
}