summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@aliftype.com>2021-08-28 03:11:40 +0200
committerKhaled Hosny <khaled@aliftype.com>2021-08-28 03:12:03 +0200
commit71dfed1e27e98e84bfd78370f2726ad3aca4545c (patch)
treed46b5dc2fa7675ebe18c2b19d0c079e4b49cd7b0 /pango
parente2925bcf8dd5643cc19a40af1a634090dc372a1a (diff)
downloadpango-71dfed1e27e98e84bfd78370f2726ad3aca4545c.tar.gz
-Wincompatible-pointer-types-discards-qualifiers
Diffstat (limited to 'pango')
-rw-r--r--pango/pangocoretext-fontmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangocoretext-fontmap.c b/pango/pangocoretext-fontmap.c
index 81bf7bf7..a02a9a07 100644
--- a/pango/pangocoretext-fontmap.c
+++ b/pango/pangocoretext-fontmap.c
@@ -849,7 +849,7 @@ get_scaled_size (PangoCoreTextFontMap *fontmap,
const PangoFontDescription *desc)
{
double size = pango_font_description_get_size (desc);
- PangoMatrix *matrix = pango_context_get_matrix (context);
+ const PangoMatrix *matrix = pango_context_get_matrix (context);
double scale_factor = pango_matrix_get_font_scale_factor (matrix);
if (!pango_font_description_get_size_is_absolute(desc))