mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-06-04 01:38:16 +02:00
xlib-xcb: Fix 'incompatible pointer type' warnings
This was introduced in b132fae5e8.
Fixes warnings of the following kind:
cairo-xlib-xcb-surface.c:261:5: warning: initialization from incompatible
pointer type
cairo-xlib-xcb-surface.c:261:5: warning: (near initialization for
'_cairo_xlib_xcb_surface_backend.paint')
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
ac9482bdf0
commit
73ff0de345
1 changed files with 7 additions and 7 deletions
|
|
@ -142,7 +142,7 @@ static cairo_int_status_t
|
|||
_cairo_xlib_xcb_surface_paint (void *abstract_surface,
|
||||
cairo_operator_t op,
|
||||
const cairo_pattern_t *source,
|
||||
cairo_clip_t *clip)
|
||||
const cairo_clip_t *clip)
|
||||
{
|
||||
cairo_xlib_xcb_surface_t *surface = abstract_surface;
|
||||
return _cairo_surface_paint (&surface->xcb->base, op, source, clip);
|
||||
|
|
@ -153,7 +153,7 @@ _cairo_xlib_xcb_surface_mask (void *abstract_surface,
|
|||
cairo_operator_t op,
|
||||
const cairo_pattern_t *source,
|
||||
const cairo_pattern_t *mask,
|
||||
cairo_clip_t *clip)
|
||||
const cairo_clip_t *clip)
|
||||
{
|
||||
cairo_xlib_xcb_surface_t *surface = abstract_surface;
|
||||
return _cairo_surface_mask (&surface->xcb->base, op, source, mask, clip);
|
||||
|
|
@ -163,13 +163,13 @@ static cairo_int_status_t
|
|||
_cairo_xlib_xcb_surface_stroke (void *abstract_surface,
|
||||
cairo_operator_t op,
|
||||
const cairo_pattern_t *source,
|
||||
cairo_path_fixed_t *path,
|
||||
const cairo_path_fixed_t *path,
|
||||
const cairo_stroke_style_t *style,
|
||||
const cairo_matrix_t *ctm,
|
||||
const cairo_matrix_t *ctm_inverse,
|
||||
double tolerance,
|
||||
cairo_antialias_t antialias,
|
||||
cairo_clip_t *clip)
|
||||
const cairo_clip_t *clip)
|
||||
{
|
||||
cairo_xlib_xcb_surface_t *surface = abstract_surface;
|
||||
return _cairo_surface_stroke (&surface->xcb->base,
|
||||
|
|
@ -181,11 +181,11 @@ static cairo_int_status_t
|
|||
_cairo_xlib_xcb_surface_fill (void *abstract_surface,
|
||||
cairo_operator_t op,
|
||||
const cairo_pattern_t *source,
|
||||
cairo_path_fixed_t *path,
|
||||
const cairo_path_fixed_t *path,
|
||||
cairo_fill_rule_t fill_rule,
|
||||
double tolerance,
|
||||
cairo_antialias_t antialias,
|
||||
cairo_clip_t *clip)
|
||||
const cairo_clip_t *clip)
|
||||
{
|
||||
cairo_xlib_xcb_surface_t *surface = abstract_surface;
|
||||
return _cairo_surface_fill (&surface->xcb->base,
|
||||
|
|
@ -201,7 +201,7 @@ _cairo_xlib_xcb_surface_glyphs (void *abstract_surface,
|
|||
cairo_glyph_t *glyphs,
|
||||
int num_glyphs,
|
||||
cairo_scaled_font_t *scaled_font,
|
||||
cairo_clip_t *clip,
|
||||
const cairo_clip_t *clip,
|
||||
int *num_remaining)
|
||||
{
|
||||
cairo_xlib_xcb_surface_t *surface = abstract_surface;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue