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>
Tue, 19 Feb 2019 07:50:12 +0000 (07:50 +0000)
commit1fe9bbfba7a638131b3c64d5ba9410f2803994d6
tree5801aff25f8ed569c11a1cbc840d939c10da148a
parenta7e51969054699b1dfe12480314d9b60e02c9a60
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