From: Jinghua Luo Date: Tue, 10 Jul 2007 06:47:28 +0000 (+0800) Subject: Fix bug in rasterizeEdges() where the stride should be signed. X-Git-Tag: 1.0_branch~1453 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0f392d81748ab1338d294de96e28c43270f24180;p=profile%2Fivi%2Fpixman.git Fix bug in rasterizeEdges() where the stride should be signed. --- diff --git a/pixman/pixman-edge.c b/pixman/pixman-edge.c index 1b28550..335a25f 100644 --- a/pixman/pixman-edge.c +++ b/pixman/pixman-edge.c @@ -128,7 +128,7 @@ fbRasterizeEdges8 (pixman_image_t *image, int fill_start = -1, fill_end = -1; int fill_size = 0; uint32_t *buf = (image)->bits.bits; - uint32_t stride = (image)->bits.rowstride; + int32_t stride = (image)->bits.rowstride; uint32_t width = (image)->bits.width; line = buf + pixman_fixed_to_int (y) * stride;