Allow folly to compile cleanly with most of the rest of MSVC's sign mismatch warnings
authorChristopher Dykes <cdykes@fb.com>
Fri, 16 Dec 2016 04:09:21 +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)
commitd7d91eb119b9f0758cd7c9e952e9a58209ca5a67
tree0e9b754dbf08c1faa6c6b18a458b8fed606dcb5d
parent1c098e2758d1bd55c48ffa26dab389dbbe96a666
Allow folly to compile cleanly with most of the rest of MSVC's sign mismatch warnings

Summary:
This allows folly to compile with warnings 4245, 4287 and 4365 enabled, all of which are sign mismatch warnings.
This is labeled as 'mostly' because I'll probably have to clean up a few more of these.

Reviewed By: yfeldblum

Differential Revision: D4263259

fbshipit-source-id: 0db618f0405817503a63094edd75b24ec1e5c9ad
31 files changed:
folly/Bits.h
folly/Conv.h
folly/CpuId.h
folly/FBString.h
folly/FBVector.h
folly/Format-inl.h
folly/Format.h
folly/FormatArg.h
folly/GroupVarint.h
folly/MPMCQueue.h
folly/RWSpinLock.h
folly/Random.cpp
folly/Range.h
folly/SpookyHashV1.h
folly/SpookyHashV2.h
folly/String.cpp
folly/detail/BitsDetail.h
folly/detail/FileUtilDetail.h
folly/detail/GroupVarintDetail.h
folly/detail/RangeCommon.cpp
folly/detail/RangeCommon.h
folly/detail/TurnSequencer.h
folly/dynamic-inl.h
folly/experimental/Instructions.h
folly/experimental/JSONSchema.cpp
folly/fibers/Baton.cpp
folly/fibers/Semaphore.h
folly/gen/File-inl.h
folly/io/IOBuf.h
folly/io/RecordIO.cpp
folly/json.cpp