More implicit truncation warning fixes
authorChristopher Dykes <cdykes@fb.com>
Fri, 16 Dec 2016 04:09:19 +0000 (20:09 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 16 Dec 2016 04:18:06 +0000 (20:18 -0800)
commit1c098e2758d1bd55c48ffa26dab389dbbe96a666
tree4507f01191c6130b62a9dd206458762b92450821
parent654cce1e5f5f4cadf3d6a05fe964d30d6120ffbc
More implicit truncation warning fixes

Summary:
This makes the changes required to compile Folly cleanly with the rest of MSVC's truncation warnings, 4244 & 4267.
Only another 2800 sign mismatch warnings left to go.

Reviewed By: yfeldblum

Differential Revision: D4257094

fbshipit-source-id: 1651eca875a31f53774d36c682f5e2745ddfcda5
33 files changed:
folly/Benchmark.cpp
folly/Benchmark.h
folly/Bits.h
folly/Checksum.cpp
folly/Conv.cpp
folly/Conv.h
folly/FBString.h
folly/FileUtil.cpp
folly/Format.cpp
folly/GroupVarint.h
folly/IndexedMemPool.h
folly/MPMCQueue.h
folly/MemoryMapping.cpp
folly/SparseByteSet.h
folly/SpookyHashV1.cpp
folly/SpookyHashV2.cpp
folly/String.cpp
folly/Uri.cpp
folly/Varint.h
folly/detail/CacheLocality.cpp
folly/detail/CacheLocality.h
folly/detail/MemoryIdler.h
folly/detail/RangeSse42.cpp
folly/detail/Stats.h
folly/detail/TurnSequencer.h
folly/experimental/FunctionScheduler.cpp
folly/experimental/JSONSchema.cpp
folly/fibers/EventBaseLoopController-inl.h
folly/io/RecordIO-inl.h
folly/io/RecordIO.cpp
folly/io/ShutdownSocketSet.cpp
folly/io/ShutdownSocketSet.h
folly/json.cpp