diff options
Diffstat (limited to 'test/std/algorithms/alg.nonmodifying/alg.foreach/test.pass.cpp')
-rw-r--r-- | test/std/algorithms/alg.nonmodifying/alg.foreach/test.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/std/algorithms/alg.nonmodifying/alg.foreach/test.pass.cpp b/test/std/algorithms/alg.nonmodifying/alg.foreach/test.pass.cpp index bf80c2c6edd47..d6fdd18968d12 100644 --- a/test/std/algorithms/alg.nonmodifying/alg.foreach/test.pass.cpp +++ b/test/std/algorithms/alg.nonmodifying/alg.foreach/test.pass.cpp @@ -35,5 +35,5 @@ int main() 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<int>(i+1)); } |