summaryrefslogtreecommitdiff
path: root/pango/break.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-18 09:46:39 -0700
committerMatthias Clasen <mclasen@redhat.com>2019-07-18 09:46:39 -0700
commita867698c7fdc11da8ecaaf1d6a32fafec7d11373 (patch)
tree95df2547f8a9684f31e5795feec2441525fc4906 /pango/break.c
parent4b391df696fe4887ebf3390a77a23293bf8b495c (diff)
downloadpango-a867698c7fdc11da8ecaaf1d6a32fafec7d11373.tar.gz
Fix compiler warnings
Diffstat (limited to 'pango/break.c')
-rw-r--r--pango/break.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/break.c b/pango/break.c
index 799d7b9f..8ed8e8c1 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -543,7 +543,7 @@ pango_default_break (const gchar *text,
PangoScript script;
WordBreakType WB_type;
- script = g_unichar_get_script (wc);
+ script = (PangoScript)g_unichar_get_script (wc);
/* Find the WordBreakType of wc */
WB_type = WB_Other;