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

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
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;
viettrungluu 2016/01/12 18:40:02 What is this I don't even....
}
#if 0

Powered by Google App Engine
This is Rietveld 408576698