summaryrefslogtreecommitdiff
path: root/src/cairo-region-private.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-10-23 14:34:30 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2008-10-30 16:19:38 +0000
commit4b2998893930e4bab19646e6f0a0c8d2a47f12a2 (patch)
treed0a1942768950c94c8f49ea63b00d2fe5db128b4 /src/cairo-region-private.h
parent0e4156121f05b14f800289ea34c5382de1f20869 (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-private.h')
-rw-r--r--src/cairo-region-private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-region-private.h b/src/cairo-region-private.h
index 352a23f9..588762e5 100644
--- a/src/cairo-region-private.h
+++ b/src/cairo-region-private.h
@@ -108,7 +108,8 @@ _cairo_region_translate (cairo_region_t *region,
int x, int y);
cairo_private pixman_region_overlap_t
-_cairo_region_contains_rectangle (cairo_region_t *region, cairo_rectangle_int_t *box);
+_cairo_region_contains_rectangle (cairo_region_t *region,
+ const cairo_rectangle_int_t *box);
CAIRO_END_DECLS