c-style cast

This commit is contained in:
ThePhD 2015-11-21 16:57:26 -05:00
parent 23237b0279
commit f798b8e2d6
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }