diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index 19ced2dfc..43eaf8355 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -590,7 +590,7 @@ initial_reordering_consonant_syllable (const hb_ot_map_t *map, hb_buffer_t *buff /* Reorder characters */ for (unsigned int i = start; i < base; i++) - info[i].indic_position() = MIN ((unsigned int) POS_PRE_C, info[i].indic_position()); + info[i].indic_position() = MIN (POS_PRE_C, (indic_position_t) info[i].indic_position()); if (base < end) info[base].indic_position() = POS_BASE_C;