| Index: third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc
|
| diff --git a/third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc b/third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc
|
| index c553f7288fcf1c0de452029ea56cec1e92c45124..3f00b8ee692a93f4a7f0c4656349815b299f0f91 100644
|
| --- a/third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc
|
| +++ b/third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc
|
| @@ -76,7 +76,7 @@ decompose_unicode (const hb_ot_shape_normalize_context_t *c,
|
| hb_codepoint_t *a,
|
| hb_codepoint_t *b)
|
| {
|
| - return c->unicode->decompose (ab, a, b);
|
| + return (bool) c->unicode->decompose (ab, a, b);
|
| }
|
|
|
| static bool
|
| @@ -85,7 +85,7 @@ compose_unicode (const hb_ot_shape_normalize_context_t *c,
|
| hb_codepoint_t b,
|
| hb_codepoint_t *ab)
|
| {
|
| - return c->unicode->compose (a, b, ab);
|
| + return (bool) c->unicode->compose (a, b, ab);
|
| }
|
|
|
| static inline void
|
| @@ -127,7 +127,7 @@ decompose (const hb_ot_shape_normalize_context_t *c, bool shortest, hb_codepoint
|
| (b && !font->get_glyph (b, 0, &b_glyph)))
|
| return 0;
|
|
|
| - bool has_a = font->get_glyph (a, 0, &a_glyph);
|
| + bool has_a = (bool) font->get_glyph (a, 0, &a_glyph);
|
| if (shortest && has_a) {
|
| /* Output a and b */
|
| output_char (buffer, a, a_glyph);
|
|
|