core-local array type conversions
authorAndrew Kryczka <andrewkr@fb.com>
Fri, 12 May 2017 16:26:40 +0000 (09:26 -0700)
committerBernd Zeimetz <bzed@debian.org>
Fri, 5 Apr 2019 13:12:52 +0000 (14:12 +0100)
commite831397b1dd53bc8d6c52d95271e19eb50450166
tree5aa0e0dd6f4d0d368619f69feaf62bb629bfdcea
parenta671bf57e8e4a1402d51bf9a1c0e3a9c920cb66f
core-local array type conversions

Summary:
try to clean up the type conversions and hope it passes on windows.

one interesting thing I learned is that bitshift operations are special: in `x << y`, the result type depends only on the type of `x`, unlike most arithmetic operations where the result type depends on both operands' types.
Closes https://github.com/facebook/rocksdb/pull/2277

Differential Revision: D5050145

Pulled By: ajkr

fbshipit-source-id: f3309e77526ac9612c632bf93a62d99757af9a29
(cherry picked from commit bbe9ee7dd4a542b191ace521ca13b4bdb063008b)

Gbp-Pq: Name 0002-core-local-array-type-conversions.patch
src/rocksdb/util/core_local.h