[libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss...
authorStephan T. Lavavej <stl@exchange.microsoft.com>
Thu, 8 Dec 2016 21:38:23 +0000 (21:38 +0000)
committerStephan T. Lavavej <stl@exchange.microsoft.com>
Thu, 8 Dec 2016 21:38:23 +0000 (21:38 +0000)
commit84ade982a22e54700c15abb73a0068ec3640065f
tree3ee443169257dfdc139a55a7dc881ebdb536d23f
parent7abade37699ebd471baca54715e6e3511533ef5f
[libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss of data", part 4/7.

Change char to long and remove some char casts. This preserves test coverage for tuple's
heterogeneous comparisons, while avoiding int-to-char truncation warnings.

Fixes D27541.

llvm-svn: 289108
libcxx/test/std/utilities/tuple/tuple.tuple/tuple.rel/eq.pass.cpp
libcxx/test/std/utilities/tuple/tuple.tuple/tuple.rel/lt.pass.cpp