From 9876fe3e7c391077ed9bf0f5b2c38e0f89ef1c85 Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 14 Sep 2009 07:09:35 +0000 Subject: Solved debug run-time error in down-cast. --- pixman/pixman/pixman-trap.c | 4 ++-- 1 file 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; } -- cgit v1.2.3