summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pango/pango-ot-info.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c
index f995c1d4..2b1b61f4 100644
--- a/pango/pango-ot-info.c
+++ b/pango/pango-ot-info.c
@@ -184,7 +184,7 @@ pango_ot_info_find_language (PangoOTInfo *info,
guint *required_feature_index)
{
gboolean ret;
- unsigned l_index;
+ guint l_index;
hb_tag_t tt = get_hb_table_type (table_type);
ret = hb_ot_layout_script_select_language (info->hb_face,
@@ -192,8 +192,9 @@ pango_ot_info_find_language (PangoOTInfo *info,
script_index,
1,
&language_tag,
- language_index);
- if (language_index) *language_index = l_index;
+ &l_index);
+ if (language_index)
+ *language_index = l_index;
hb_ot_layout_language_get_required_feature_index (info->hb_face, tt,
script_index,