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

Fix sign-compare error on 32-bit systems

上级 f2d20dd9
...@@ -182,7 +182,7 @@ struct Offset : Type ...@@ -182,7 +182,7 @@ struct Offset : Type
void *serialize (hb_serialize_context_t *c, const void *base) void *serialize (hb_serialize_context_t *c, const void *base)
{ {
void *t = c->start_embed<void> (); void *t = c->start_embed<void> ();
c->check_assign (*this, (char *) t - (char *) base); c->check_assign (*this, (unsigned) ((char *) t - (char *) base));
return t; return t;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册