[os2] Minor add a cast
This commit is contained in:
parent
45fe897e89
commit
082e5c5def
|
@ -223,7 +223,7 @@ static unsigned int
|
||||||
_hb_ot_os2_get_unicode_range_bit (hb_codepoint_t cp)
|
_hb_ot_os2_get_unicode_range_bit (hb_codepoint_t cp)
|
||||||
{
|
{
|
||||||
auto *range = hb_sorted_array (_hb_os2_unicode_ranges).bsearch (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 */
|
} /* namespace OT */
|
||||||
|
|
Loading…
Reference in New Issue