summaryrefslogtreecommitdiff
path: root/test/clip-disjoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/clip-disjoint.c')
-rw-r--r--test/clip-disjoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/clip-disjoint.c b/test/clip-disjoint.c
index 797898ea1..28bb963c2 100644
--- a/test/clip-disjoint.c
+++ b/test/clip-disjoint.c
@@ -45,7 +45,7 @@ paint_curve (cairo_t *cr)
cairo_set_line_width (cr, 2);
cairo_move_to (cr, points[0].x, points[0].y);
- for (i = 1; i < sizeof (points) / sizeof (points[0]) - 2; i += 3) {
+ for (i = 1; i < ARRAY_LENGTH (points) - 2; i += 3) {
cairo_curve_to (cr,
points[i].x, points[i].y,
points[i + 1].x, points[i + 1].y,