Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Unified Diff: fusl/src/multibyte/c16rtomb.c

Issue 1576423004: Remove -Wno-shift-op-parentheses for fusl build (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fusl/src/malloc/malloc.c ('k') | fusl/src/prng/__rand48_step.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « fusl/src/malloc/malloc.c ('k') | fusl/src/prng/__rand48_step.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698