diff --git a/src/hb-subset-cff-common.hh b/src/hb-subset-cff-common.hh index d4cc1f258..6113f9e60 100644 --- a/src/hb-subset-cff-common.hh +++ b/src/hb-subset-cff-common.hh @@ -869,7 +869,7 @@ struct SubrSubsetter { for (int i = pos - 1; i >= 0; i--) { - ParsedCSOp &csop = str.values[i]; + ParsedCSOp &csop = str.values[static_cast(i)]; if (csop.for_drop ()) break; csop.set_drop ();