Don't shift an int left while assigning it to a size_t
authorChristopher Dykes <cdykes@fb.com>
Wed, 27 Jul 2016 19:21:19 +0000 (12:21 -0700)
committerFacebook Github Bot 3 <facebook-github-bot-3-bot@fb.com>
Wed, 27 Jul 2016 19:23:38 +0000 (12:23 -0700)
commit5d90c1385188d4632ce9a0f0e6bc5b83d4cf5138
tree831d66ea5e3352b9241a370d2c804a53ad989593
parent84e863f65b838e27ce94bc41b25f46f4c8bc26ac
Don't shift an int left while assigning it to a size_t

Summary:
MSVC gives warnings if you shift a 32-bit value left but then assign it to a 64-bit variable. This just makes it a 64-bit shift instead.
If we really wanted, this doesn't need to be a size_t to begin with, but it already is, so just leave it alone.

Reviewed By: yfeldblum

Differential Revision: D3622935

fbshipit-source-id: 25931e6df644df8a2160aa80fd5de21cd9c06159
folly/test/HashBenchmark.cpp