Index: test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp =================================================================== --- test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp +++ test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp @@ -53,7 +53,7 @@ OutIter r = std::move(InIter(ia), InIter(ia+N), OutIter(ib)); assert(base(r) == ib+N); for (unsigned i = 0; i < N; ++i) - assert(*ib[i] == i); + assert(*ib[i] == static_cast(i)); } #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES Index: test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp =================================================================== --- test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp +++ test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp @@ -53,7 +53,7 @@ OutIter r = std::move_backward(InIter(ia), InIter(ia+N), OutIter(ib+N)); assert(base(r) == ib); for (unsigned i = 0; i < N; ++i) - assert(*ib[i] == i); + assert(*ib[i] == static_cast(i)); } #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES Index: test/std/algorithms/alg.nonmodifying/alg.foreach/test.pass.cpp =================================================================== --- test/std/algorithms/alg.nonmodifying/alg.foreach/test.pass.cpp +++ test/std/algorithms/alg.nonmodifying/alg.foreach/test.pass.cpp @@ -35,5 +35,5 @@ for_each_test(0)); assert(f.count == s); for (unsigned i = 0; i < s; ++i) - assert(ia[i] == i+1); + assert(ia[i] == static_cast(i+1)); } Index: test/std/algorithms/alg.sorting/alg.merge/merge.pass.cpp =================================================================== --- test/std/algorithms/alg.sorting/alg.merge/merge.pass.cpp +++ test/std/algorithms/alg.sorting/alg.merge/merge.pass.cpp @@ -40,7 +40,7 @@ InIter2(ib), InIter2(ib+N), OutIter(ic)); assert(base(r) == ic+2*N); assert(ic[0] == 0); - assert(ic[2*N-1] == 2*N-1); + assert(ic[2*N-1] == static_cast(2*N-1)); assert(std::is_sorted(ic, ic+2*N)); delete [] ic; delete [] ib; @@ -62,7 +62,7 @@ InIter2(ib), InIter2(ib+N), OutIter(ic)); assert(base(r) == ic+2*N); assert(ic[0] == 0); - assert(ic[2*N-1] == 2*N-1); + assert(ic[2*N-1] == static_cast(2*N-1)); assert(std::is_sorted(ic, ic+2*N)); delete [] ic; delete [] ib; Index: test/std/algorithms/alg.sorting/alg.merge/merge_comp.pass.cpp =================================================================== --- test/std/algorithms/alg.sorting/alg.merge/merge_comp.pass.cpp +++ test/std/algorithms/alg.sorting/alg.merge/merge_comp.pass.cpp @@ -46,7 +46,7 @@ OutIter r = std::merge(InIter1(ia), InIter1(ia+N), InIter2(ib), InIter2(ib+N), OutIter(ic), pred); assert(base(r) == ic+2*N); - assert(ic[0] == 2*N-1); + assert(ic[0] == static_cast(2*N-1)); assert(ic[2*N-1] == 0); assert(std::is_sorted(ic, ic+2*N, std::greater())); assert(pred.count() <= (N + N - 1)); @@ -70,7 +70,7 @@ OutIter r = std::merge(InIter1(ia), InIter1(ia+N), InIter2(ib), InIter2(ib+N), OutIter(ic), pred); assert(base(r) == ic+2*N); - assert(ic[0] == 2*N-1); + assert(ic[0] == static_cast(2*N-1)); assert(ic[2*N-1] == 0); assert(std::is_sorted(ic, ic+2*N, std::greater())); assert(pred.count() <= (N + N - 1)); Index: test/std/containers/sequences/deque/deque.capacity/access.pass.cpp =================================================================== --- test/std/containers/sequences/deque/deque.capacity/access.pass.cpp +++ test/std/containers/sequences/deque/deque.capacity/access.pass.cpp @@ -52,18 +52,18 @@ { { std::deque c = make >(10); - for (unsigned i = 0; i < 10; ++i) + for (int i = 0; i < 10; ++i) assert(c[i] == i); - for (unsigned i = 0; i < 10; ++i) + for (int i = 0; i < 10; ++i) assert(c.at(i) == i); assert(c.front() == 0); assert(c.back() == 9); } { const std::deque c = make >(10); - for (unsigned i = 0; i < 10; ++i) + for (int i = 0; i < 10; ++i) assert(c[i] == i); - for (unsigned i = 0; i < 10; ++i) + for (int i = 0; i < 10; ++i) assert(c.at(i) == i); assert(c.front() == 0); assert(c.back() == 9); @@ -71,18 +71,18 @@ #if TEST_STD_VER >= 11 { std::deque> c = make> >(10); - for (unsigned i = 0; i < 10; ++i) + for (int i = 0; i < 10; ++i) assert(c[i] == i); - for (unsigned i = 0; i < 10; ++i) + for (int i = 0; i < 10; ++i) assert(c.at(i) == i); assert(c.front() == 0); assert(c.back() == 9); } { const std::deque> c = make> >(10); - for (unsigned i = 0; i < 10; ++i) + for (int i = 0; i < 10; ++i) assert(c[i] == i); - for (unsigned i = 0; i < 10; ++i) + for (int i = 0; i < 10; ++i) assert(c.at(i) == i); assert(c.front() == 0); assert(c.back() == 9);