diff --git a/src/OT/Layout/Common/CoverageFormat2.hh b/src/OT/Layout/Common/CoverageFormat2.hh index 6ea8b2278..f4e3ad0e1 100644 --- a/src/OT/Layout/Common/CoverageFormat2.hh +++ b/src/OT/Layout/Common/CoverageFormat2.hh @@ -144,7 +144,7 @@ struct CoverageFormat2_4 { for (const auto& range : rangeRecord) { - unsigned last = range.last; + hb_codepoint_t last = range.last; for (hb_codepoint_t g = range.first - 1; glyphs.next (&g) && g <= last;) intersect_glyphs << g;