| Index: third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc
|
| diff --git a/third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc b/third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc
|
| index 6288a90c9a9b1828b908b9b743bb7d24c7f3f15e..a4adb8ff1b0e0e7046040f92b487a944dcd9c1a6 100644
|
| --- a/third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc
|
| +++ b/third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc
|
| @@ -139,11 +139,11 @@ set_sea_properties (hb_glyph_info_t &info)
|
| {
|
| hb_codepoint_t u = info.codepoint;
|
| unsigned int type = hb_indic_get_categories (u);
|
| - indic_category_t cat = (indic_category_t) (type & 0x7F);
|
| + indic_category_t cat = (indic_category_t) (type & 0x7Fu);
|
| indic_position_t pos = (indic_position_t) (type >> 8);
|
|
|
| /* Medial Ra */
|
| - if (u == 0x1A55 || u == 0xAA34)
|
| + if (u == 0x1A55u || u == 0xAA34u)
|
| cat = (indic_category_t) OT_MR;
|
|
|
| if (cat == OT_M)
|
| @@ -288,11 +288,11 @@ insert_dotted_circles (const hb_ot_shape_plan_t *plan HB_UNUSED,
|
|
|
|
|
| hb_codepoint_t dottedcircle_glyph;
|
| - if (!font->get_glyph (0x25CC, 0, &dottedcircle_glyph))
|
| + if (!font->get_glyph (0x25CCu, 0, &dottedcircle_glyph))
|
| return;
|
|
|
| hb_glyph_info_t dottedcircle = {0};
|
| - dottedcircle.codepoint = 0x25CC;
|
| + dottedcircle.codepoint = 0x25CCu;
|
| set_sea_properties (dottedcircle);
|
| dottedcircle.codepoint = dottedcircle_glyph;
|
|
|
|
|