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

Unified Diff: fusl/src/malloc/malloc.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/locale/iconv.c ('k') | fusl/src/multibyte/c16rtomb.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/src/malloc/malloc.c
diff --git a/fusl/src/malloc/malloc.c b/fusl/src/malloc/malloc.c
index b90636cc67fda06dac201526d43a42f5e040971c..d87b99846aec692c2a4796cbe00701f3fb341772 100644
--- a/fusl/src/malloc/malloc.c
+++ b/fusl/src/malloc/malloc.c
@@ -123,7 +123,7 @@ static int bin_index_up(size_t x)
{
x = x / SIZE_ALIGN - 1;
if (x <= 32) return x;
- return ((union { float v; uint32_t r; }){(int)x}.r+0x1fffff>>21) - 496;
+ return (((union { float v; uint32_t r; }){(int)x}.r+0x1fffff)>>21) - 496;
}
#if 0
« no previous file with comments | « fusl/src/locale/iconv.c ('k') | fusl/src/multibyte/c16rtomb.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698