[libcxx] [test] D27015: Fix MSVC warning C4018 "signed/unsigned mismatch", part 3/12.

Change unsigned to int in parameters.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@287823 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Stephan T. Lavavej
2016-11-23 22:02:16 +00:00
parent 388c2a8e68
commit 9a65a47871
21 changed files with 29 additions and 29 deletions

View File

@@ -19,7 +19,7 @@
#include <cassert>
void
test_one(unsigned N, unsigned M)
test_one(int N, int M)
{
assert(N != 0);
assert(M < N);
@@ -34,7 +34,7 @@ test_one(unsigned N, unsigned M)
}
void
test(unsigned N)
test(int N)
{
test_one(N, 0);
test_one(N, 1);

View File

@@ -33,7 +33,7 @@ struct indirect_less
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
void
test_one(unsigned N, unsigned M)
test_one(int N, int M)
{
assert(N != 0);
assert(M < N);
@@ -48,7 +48,7 @@ test_one(unsigned N, unsigned M)
}
void
test(unsigned N)
test(int N)
{
test_one(N, 0);
test_one(N, 1);