[cmap] Minor cast

This commit is contained in:
Behdad Esfahbod 2022-12-03 10:41:42 -07:00
parent 4cdb5cc69b
commit cd29147e30
1 changed files with 1 additions and 1 deletions

View File

@ -930,7 +930,7 @@ struct DefaultUVS : SortedArray32Of<UnicodeValueRange>
for (const UnicodeValueRange& _ : *this)
{
hb_codepoint_t curEntry = (unsigned) _.startUnicodeValue - 1;
hb_codepoint_t curEntry = (hb_codepoint_t) (_.startUnicodeValue - 1);
hb_codepoint_t end = curEntry + _.additionalCount + 2;
for (; unicodes->next (&curEntry) && curEntry < end;)