[libcxx] [test] D27023: Fix MSVC warning C4389 "signed/unsigned mismatch", part 10/12.
authorStephan T. Lavavej <stl@exchange.microsoft.com>
Tue, 6 Dec 2016 01:13:29 +0000 (01:13 +0000)
committerStephan T. Lavavej <stl@exchange.microsoft.com>
Tue, 6 Dec 2016 01:13:29 +0000 (01:13 +0000)
commite17a155c618765c423cbb66ab010ee616aeb72b3
tree0a8675cbd4409a4a85d71e1fb4007a31f5be0194
parent68a694b800a9bb5f5cbbc5d8c956a87273356d20
[libcxx] [test] D27023: Fix MSVC warning C4389 "signed/unsigned mismatch", part 10/12.

Add static_cast<int>. In these cases, the values are guaranteed to be small-ish,
and they're being compared to int elements.

test/std/containers/sequences/deque/deque.capacity/access.pass.cpp
Use int instead of unsigned to iterate from 0 to 10.

llvm-svn: 288747
libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp
libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp
libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/test.pass.cpp
libcxx/test/std/algorithms/alg.sorting/alg.merge/merge.pass.cpp
libcxx/test/std/algorithms/alg.sorting/alg.merge/merge_comp.pass.cpp
libcxx/test/std/containers/sequences/deque/deque.capacity/access.pass.cpp