From afa65f2903b2a1d32bbb70d445666b9343c86837 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 21 Jul 2022 12:17:08 -0600 Subject: [PATCH] [Coverage] Minor type change --- src/OT/Layout/Common/CoverageFormat2.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;