Commit 7dd4a84b authored by Matthias Clasen's avatar Matthias Clasen

Small const correctness fix

clang complains that initializing 'FcPattern *' (aka 'struct _FcPattern *')
with an expression of type 'const FcPattern *' (aka 'const struct _FcPattern *')
discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
      FcPattern *pattern = pango_fc_font_key_get_pattern (key);
parent 54b593ec
......@@ -993,7 +993,7 @@ pango_fc_font_create_hb_font (PangoFont *font)
if (key)
{
FcPattern *pattern = pango_fc_font_key_get_pattern (key);
const FcPattern *pattern = pango_fc_font_key_get_pattern (key);
const char *variations;
int index;
unsigned int n_axes;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment