| Index: third_party/harfbuzz-ng/src/hb-set-private.hh
|
| diff --git a/third_party/harfbuzz-ng/src/hb-set-private.hh b/third_party/harfbuzz-ng/src/hb-set-private.hh
|
| index 3c302b1daf68eb8d6381c27a9d40d0b5c4e62889..e2010d762672c6f495c901a9599cedf323dc425f 100644
|
| --- a/third_party/harfbuzz-ng/src/hb-set-private.hh
|
| +++ b/third_party/harfbuzz-ng/src/hb-set-private.hh
|
| @@ -313,7 +313,7 @@ struct hb_set_t
|
| for (unsigned int i = 0; i < ELTS; i++)
|
| if (elts[i])
|
| for (unsigned int j = 0; j < BITS; j++)
|
| - if (elts[i] & (1 << j))
|
| + if (elts[i] & (1u << j))
|
| return i * BITS + j;
|
| return INVALID;
|
| }
|
| @@ -322,7 +322,7 @@ struct hb_set_t
|
| for (unsigned int i = ELTS; i; i--)
|
| if (elts[i - 1])
|
| for (unsigned int j = BITS; j; j--)
|
| - if (elts[i - 1] & (1 << (j - 1)))
|
| + if (elts[i - 1] & (1u << (j - 1)))
|
| return (i - 1) * BITS + (j - 1);
|
| return INVALID;
|
| }
|
|
|