diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-10-23 14:34:30 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-10-30 16:19:38 +0000 |
commit | 4b2998893930e4bab19646e6f0a0c8d2a47f12a2 (patch) | |
tree | d0a1942768950c94c8f49ea63b00d2fe5db128b4 /src/cairo-region.c | |
parent | 0e4156121f05b14f800289ea34c5382de1f20869 (diff) |
Review users of cairo_rectangle_int_t for incorrect unsigned promotion.
Adrian Johnson discovered cases where we mistakenly compared the result
of unsigned arithmetic where we need signed quantities. Look for similar
cases in the users of cairo_rectangle_int_t.
Diffstat (limited to 'src/cairo-region.c')
-rw-r--r-- | src/cairo-region.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-region.c b/src/cairo-region.c index 746b3b19..23a042fd 100644 --- a/src/cairo-region.c +++ b/src/cairo-region.c @@ -207,7 +207,8 @@ _cairo_region_translate (cairo_region_t *region, } pixman_region_overlap_t -_cairo_region_contains_rectangle (cairo_region_t *region, cairo_rectangle_int_t *rect) +_cairo_region_contains_rectangle (cairo_region_t *region, + const cairo_rectangle_int_t *rect) { pixman_box32_t pbox; |