提交 f798b8e2 编写于 作者: T ThePhD

c-style cast

上级 23237b02
...@@ -572,7 +572,7 @@ compose_use (const hb_ot_shape_normalize_context_t *c, ...@@ -572,7 +572,7 @@ compose_use (const hb_ot_shape_normalize_context_t *c,
if (HB_UNICODE_GENERAL_CATEGORY_IS_MARK (c->unicode->general_category (a))) if (HB_UNICODE_GENERAL_CATEGORY_IS_MARK (c->unicode->general_category (a)))
return false; return false;
return c->unicode->compose (a, b, ab) != 0; return (bool)c->unicode->compose (a, b, ab);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册