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>
Sat, 29 Dec 2018 21:08:52 +0000 (21:08 +0000)
commit6a6f73b2f662cc54235ad254c3d8d38a95209181
tree95a4447abfa18161b33169c2ce38f7901a857154
parent49684b42618a683b0724cdf23b200805f49dcf3b
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