提交 1c81cff2 编写于 作者: B Behdad Esfahbod

Fix signed-comparison error on 32bit

上级 938de315
......@@ -292,7 +292,7 @@ struct hb_serialize_context_t
for (const object_t::link_t &link : parent->links)
{
const object_t &child = *packed[link.objidx];
assert (link.bias <= parent->tail - parent->head);
assert (link.bias <= (size_t) (parent->tail - parent->head));
unsigned offset = (child.head - parent->head) - link.bias;
if (link.is_wide)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册