提交 f0ea3ac1 编写于 作者: B Behdad Esfahbod

[serialize] Fix linking

上级 7c0e2054
......@@ -260,13 +260,13 @@ struct hb_serialize_context_t
if (link.is_wide)
{
auto &off = * ((BEInt<uint32_t, 4> *) (parent.head + offset));
auto &off = * ((BEInt<uint32_t, 4> *) (parent.head + link.position));
off = offset;
propagate_error (off == offset);
}
else
{
auto &off = * ((BEInt<uint16_t, 2> *) (parent.head + offset));
auto &off = * ((BEInt<uint16_t, 2> *) (parent.head + link.position));
off = offset;
propagate_error (off == offset);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册