[PATCH 2/3] core-local array type conversions
authorAndrew Kryczka <andrewkr@fb.com>
Fri, 12 May 2017 16:26:40 +0000 (09:26 -0700)
committerBastien Roucariès <rouca@debian.org>
Sat, 21 Oct 2023 16:42:26 +0000 (17:42 +0100)
commit387197f84fd25e41a08c01f65c340f62f6e85362
treeaca342718aa187a58b6f898a36884c6f68df5dac
parentbc6b100e6857208495c2b205f27b11750772fd90
[PATCH 2/3] 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