Minor warning fix again
This commit is contained in:
parent
267fb9c716
commit
42f4bd6b80
|
@ -226,7 +226,7 @@ hb_ot_map_builder_t::compile (hb_ot_map_t &m,
|
||||||
if (required_feature_tag[table_index] == info->tag)
|
if (required_feature_tag[table_index] == info->tag)
|
||||||
required_feature_stage[table_index] = info->stage[table_index];
|
required_feature_stage[table_index] = info->stage[table_index];
|
||||||
|
|
||||||
found |= hb_ot_layout_language_find_feature (face,
|
found |= (bool) hb_ot_layout_language_find_feature (face,
|
||||||
table_tags[table_index],
|
table_tags[table_index],
|
||||||
script_index[table_index],
|
script_index[table_index],
|
||||||
language_index[table_index],
|
language_index[table_index],
|
||||||
|
@ -237,7 +237,7 @@ hb_ot_map_builder_t::compile (hb_ot_map_t &m,
|
||||||
{
|
{
|
||||||
for (unsigned int table_index = 0; table_index < 2; table_index++)
|
for (unsigned int table_index = 0; table_index < 2; table_index++)
|
||||||
{
|
{
|
||||||
found |= hb_ot_layout_table_find_feature (face,
|
found |= (bool) hb_ot_layout_table_find_feature (face,
|
||||||
table_tags[table_index],
|
table_tags[table_index],
|
||||||
info->tag,
|
info->tag,
|
||||||
&feature_index[table_index]);
|
&feature_index[table_index]);
|
||||||
|
|
|
@ -111,7 +111,7 @@ test_ot_face_empty (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
test_ot_var_axis_on_zero_named_instance ()
|
test_ot_var_axis_on_zero_named_instance (void)
|
||||||
{
|
{
|
||||||
hb_face_t *face = hb_test_open_font_file ("fonts/Zycon.ttf");
|
hb_face_t *face = hb_test_open_font_file ("fonts/Zycon.ttf");
|
||||||
g_assert (hb_ot_var_get_axis_count (face));
|
g_assert (hb_ot_var_get_axis_count (face));
|
||||||
|
|
Loading…
Reference in New Issue