diff options
author | Timm Bäder <mail@baedert.org> | 2020-06-10 05:21:06 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2020-06-10 05:21:06 +0200 |
commit | 3b122eb3cc8b2585e8094a5f97c5a2c75fff2723 (patch) | |
tree | 35f6bf9387ba14a82751a34f81c580a35840ca94 /pango/pangocairo-render.c | |
parent | 410ea34c65ec5e96034a92397869abc788af3476 (diff) | |
download | pango-3b122eb3cc8b2585e8094a5f97c5a2c75fff2723.tar.gz |
pangocairo-render: Make a local const
Avoiding this warning:
../pango/pangocairo-render.c:506:19: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
for (row = 0, p = name; row < rows; row++)
^ ~~~~
Diffstat (limited to 'pango/pangocairo-render.c')
-rw-r--r-- | pango/pangocairo-render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangocairo-render.c b/pango/pangocairo-render.c index e268ebd5..614a3a44 100644 --- a/pango/pangocairo-render.c +++ b/pango/pangocairo-render.c @@ -374,7 +374,7 @@ _pango_cairo_renderer_draw_unknown_glyph (PangoCairoRenderer *crenderer, PangoCairoFontHexBoxInfo *hbi; gunichar ch; gboolean invalid_input; - char *p; + const char *p; const char *name; cairo_save (crenderer->cr); |