Fix signed comparison on 32bit

This commit is contained in:
Behdad Esfahbod 2019-05-07 23:28:22 -07:00
parent dfc5780245
commit 2ba984fcbb
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ struct hb_sanitize_context_t :
else
{
this->start = obj_start;
this->end = obj_start + hb_min (this->end - obj_start, obj->get_size ());
this->end = obj_start + hb_min (size_t (this->end - obj_start), obj->get_size ());
}
}