[os2] Minor add a cast

This commit is contained in:
Behdad Esfahbod 2023-01-12 18:37:07 -07:00
parent 45fe897e89
commit 082e5c5def
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ static unsigned int
_hb_ot_os2_get_unicode_range_bit (hb_codepoint_t cp)
{
auto *range = hb_sorted_array (_hb_os2_unicode_ranges).bsearch (cp);
return range ? range->bit : -1;
return range ? range->bit : (unsigned) -1;
}
} /* namespace OT */