core-local array type conversions
authorAndrew Kryczka <andrewkr@fb.com>
Fri, 12 May 2017 16:26:40 +0000 (09:26 -0700)
committerGaudenz Steinlin <gaudenz@debian.org>
Fri, 30 Nov 2018 15:49:02 +0000 (15:49 +0000)
commit5f6822be6a77a32346369c8310fef5be7e98cc40
treefcd25eb2e3feffa6fd047f829ef9a983fc264b84
parentdf7d6c30fc8b700537e8e9b4a8896568fb9e2631
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