mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-09 04:58:04 +02:00
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:
parent
26c9994393
commit
5c31566678
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue