diff options
| author | Stephan T. Lavavej <stl@exchange.microsoft.com> | 2016-12-06 01:13:40 +0000 |
|---|---|---|
| committer | Stephan T. Lavavej <stl@exchange.microsoft.com> | 2016-12-06 01:13:40 +0000 |
| commit | 6859c20ac99a04403f605b7fd0b8083cf945d2f2 (patch) | |
| tree | 6687761290c00dfda8634c61f7bc4d1e1b27110d /libcxx/test/std/experimental/utilities/tuple/header.tuple.synop/includes.pass.cpp | |
| parent | e17a155c618765c423cbb66ab010ee616aeb72b3 (diff) | |
| download | bcm5719-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/includes.pass.cpp')
0 files changed, 0 insertions, 0 deletions

