summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/experimental/utilities/tuple/header.tuple.synop
diff options
context:
space:
mode:
authorStephan T. Lavavej <stl@exchange.microsoft.com>2016-12-06 01:13:40 +0000
committerStephan T. Lavavej <stl@exchange.microsoft.com>2016-12-06 01:13:40 +0000
commit6859c20ac99a04403f605b7fd0b8083cf945d2f2 (patch)
tree6687761290c00dfda8634c61f7bc4d1e1b27110d /libcxx/test/std/experimental/utilities/tuple/header.tuple.synop
parente17a155c618765c423cbb66ab010ee616aeb72b3 (diff)
downloadbcm5719-llvm-6859c20ac99a04403f605b7fd0b8083cf945d2f2.tar.gz
bcm5719-llvm-6859c20ac99a04403f605b7fd0b8083cf945d2f2.zip
[libcxx] [test] D27024: Fix MSVC warning C4389 "signed/unsigned mismatch", part 11/12.
Change "unsigned n = 0;" to "int n = 0;". It's being compared to int elements and ptrdiff_t distances. test/std/containers/sequences/forwardlist/forwardlist.cons/move.pass.cpp This one's a little special, but not really. "*i == n" is comparing MoveOnly to n. MoveOnly is implicitly constructible from int, so int is the correct type to use here. llvm-svn: 288748
Diffstat (limited to 'libcxx/test/std/experimental/utilities/tuple/header.tuple.synop')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud