Commit 0826d16b authored by Michael Callahan's avatar Michael Callahan Committed by Facebook Github Bot 3

Explicit typecast of unused constant to make 32 bit compiler happy.

Summary:
GCC 5.3 is confused that we might be trying to assign a 64
bit value to a 32 bit size_t although we are clearly not.  Just
typecast the confusion away.

Reviewed By: yfeldblum

Differential Revision: D3762839

fbshipit-source-id: 1b705c4e70b782fdb106844fee52ab25aa038acd
parent 76745f68
......@@ -812,7 +812,7 @@ private:
maxMediumSize = 254 / sizeof(Char), // coincides with the small
// bin size in dlmalloc
categoryExtractMask = kIsLittleEndian
? sizeof(size_t) == 4 ? 0xC0000000 : 0xC000000000000000
? sizeof(size_t) == 4 ? 0xC0000000 : size_t(0xC000000000000000)
: 0x3,
capacityExtractMask = kIsLittleEndian
? ~categoryExtractMask
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment