Chromium Code Reviews| Index: fusl/src/multibyte/c16rtomb.c |
| diff --git a/fusl/src/multibyte/c16rtomb.c b/fusl/src/multibyte/c16rtomb.c |
| index 39ca3758fa16eb16d12f468046045f0f425e5d1c..5ebfbc29b70f9a87a3a821a5fd556bf8962a8e17 100644 |
| --- a/fusl/src/multibyte/c16rtomb.c |
| +++ b/fusl/src/multibyte/c16rtomb.c |
| @@ -15,7 +15,7 @@ size_t c16rtomb(char *restrict s, char16_t c16, mbstate_t *restrict ps) |
| } |
| if (!*x && c16 - 0xd800u < 0x400) { |
| - *x = c16 - 0xd7c0 << 10; |
| + *x = (c16 - 0xd7c0) << 10; |
| return 0; |
| } |