rectangle: Fix warning

In 545f3085.. the cairo_spline_add_point_func_t type was modified to
accept the tangent in the point, but cairo-rectangle.c was not updated
accordingly.

Fixes:

cairo-rectangle.c: In function '_cairo_box_add_curve_to':
cairo-rectangle.c:297:11: warning: passing argument 1 of
'_cairo_spline_bound' from incompatible pointer type
This commit is contained in:
Andrea Canciani 2011-10-26 15:10:59 +02:00
parent 26c9994393
commit 5c31566678

View file

@ -272,7 +272,8 @@ _cairo_box_intersects_line_segment (cairo_box_t *box, cairo_line_t *line)
static cairo_status_t
_cairo_box_add_spline_point (void *closure,
const cairo_point_t *point)
const cairo_point_t *point,
const cairo_slope_t *tangent)
{
_cairo_box_add_point (closure, point);