Long is not long enough for a long long
authorChristopher Dykes <cdykes@fb.com>
Fri, 1 Jul 2016 01:11:51 +0000 (18:11 -0700)
committerFacebook Github Bot 8 <facebook-github-bot-8-bot@fb.com>
Fri, 1 Jul 2016 01:24:13 +0000 (18:24 -0700)
commit389ce43b7d74a899c23e512dbcef08ddd6d549fd
treea5b438a408ef0c7d3e33ebd56be2fe1044930bf0
parent788ab800753936d3e2aae211b9fcb5bc6109421d
Long is not long enough for a long long

Summary: Thus `1UL << 63 == 0` which is not the intended behavior.

Reviewed By: yfeldblum

Differential Revision: D3478480

fbshipit-source-id: a31dba7f5a503be2b34a4cb66bc7039076f158a0
folly/detail/FingerprintPolynomial.h
folly/detail/SlowFingerprint.h
folly/test/BitsTest.cpp
folly/test/GroupVarintTest.cpp
folly/test/RandomBenchmark.cpp