[pango/coretext-warnings: 2/3] -Wincompatible-pointer-types-discards-qualifiers
- From: Khaled Hosny <khaledh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/coretext-warnings: 2/3] -Wincompatible-pointer-types-discards-qualifiers
- Date: Sat, 28 Aug 2021 01:15:35 +0000 (UTC)
commit 71dfed1e27e98e84bfd78370f2726ad3aca4545c
Author: Khaled Hosny <khaled aliftype com>
Date: Sat Aug 28 03:11:40 2021 +0200
-Wincompatible-pointer-types-discards-qualifiers
pango/pangocoretext-fontmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]