Re: [PATCH 6/8] xml: constify source objects for emit routines
Chris Wilson <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Feb 22, 2014 at 02:07:07AM +0000, Bryce W. Harrington wrote: > This quells the following warnings: > > src/cairo-xml-surface.c:576:5: warning: passing argument 2 of > ‘_cairo_xml_surface_emit_clip_boxes’ discards ‘const’ qualifier from > pointer target type > src/cairo-xml-surface.c:462:1: note: expected ‘struct cairo_clip_t > *’ but argument is of type ‘const struct cairo_clip_t *’ > > Most of the cairo_xml*emit* routines const their source objects; > these should follow suit. > > Signed-off-by: Bryce Harrington <[email protected]> Reviewed-by: Chris Wilson <[email protected]> -Chris -- Chris Wilson, Intel Open Source Technology Centre -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo