mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 23:11:04 +01:00
Fix signed comparison on 32bit
This commit is contained in:
1 parent
dfc5780245
commit
2ba984fcbb
1 file changed
+1
-1
+1
-1
@@ -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 ());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user