Fix clang narrowing error in GroupVarintTables
authorAndrew Gallagher <agallagher@fb.com>
Thu, 14 Jun 2012 19:24:31 +0000 (12:24 -0700)
committerTudor Bosman <tudorb@fb.com>
Thu, 14 Jun 2012 19:35:55 +0000 (12:35 -0700)
commit2ec852705e5b65f11d8f4488ba22f89ae4246062
tree4512e145401b99980412d8ec191806db24bddcad
parentff884b61e00105c9edfc6cddf788790514b2ee29
Fix clang narrowing error in GroupVarintTables

Summary:
The __m128i type is a pair of 64-bit signed ints and the values
generated in generate_varint_tables.py overflow this range, which
causes clang to complain.

Test Plan:
Built and ran unittests.  Also verified that the GroupVarintTable.o
data section was identical with and w/o this change.

Reviewed By: tudorb@fb.com

FB internal diff: D494645
folly/build/generate_varint_tables.py