Swap a few APIs to reduce sign and implicit truncations required to work with it
authorChristopher Dykes <cdykes@fb.com>
Wed, 1 Feb 2017 01:35:51 +0000 (17:35 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 1 Feb 2017 01:47:54 +0000 (17:47 -0800)
commit41365ea66d92749ba78f73d60325e5447beb04ab
tree563d06ff329f8c0ceaf6c79165b7fd96bf56689d
parente0b75e77cc224d3caffbb717342873c858e893fe
Swap a few APIs to reduce sign and implicit truncations required to work with it

Summary: This results in a more uniform API within Folly, allowing for a more uniform API to use outside of Folly.

Reviewed By: yfeldblum

Differential Revision: D4471471

fbshipit-source-id: f798a6498bd1a05ed12adea362ff4aedd25789ee
35 files changed:
folly/AtomicHashArray-inl.h
folly/AtomicHashArray.h
folly/AtomicHashMap.h
folly/AtomicUnorderedMap.h
folly/Benchmark.cpp
folly/ConcurrentSkipList-inl.h
folly/Conv.h
folly/DiscriminatedPtr.h
folly/Format.cpp
folly/IndexedMemPool.h
folly/SocketAddress.cpp
folly/build/GenerateFingerprintTables.cpp
folly/detail/CacheLocality.cpp
folly/detail/IPAddressSource.h
folly/detail/RangeSse42.cpp
folly/experimental/EliasFanoCoding.h
folly/fibers/test/FibersTest.cpp
folly/futures/Future-inl.h
folly/gen/Parallel-inl.h
folly/gen/String-inl.h
folly/io/Cursor.cpp
folly/io/async/AsyncSSLSocket.cpp
folly/io/async/ssl/OpenSSLUtils.cpp
folly/io/test/IOBufCursorTest.cpp
folly/io/test/IOBufQueueTest.cpp
folly/json.cpp
folly/portability/Stdio.cpp
folly/stats/BucketedTimeSeries-defs.h
folly/stats/BucketedTimeSeries.h
folly/stats/MultiLevelTimeSeries.h
folly/stats/TimeseriesHistogram.h
folly/test/DeterministicSchedule.cpp
folly/test/DeterministicSchedule.h
folly/test/IndexedMemPoolTest.cpp
folly/test/MergeTest.cpp