From b774c82e2df94fa3d76480389f205e78226c6dca Mon Sep 17 00:00:00 2001 From: J-Donald Tournier Date: Sat, 30 Nov 2019 08:09:35 +0000 Subject: [PATCH] Fix compiler warning --- testing/cmd/testing_unit_tests_shuffle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/cmd/testing_unit_tests_shuffle.cpp b/testing/cmd/testing_unit_tests_shuffle.cpp index 46ca648168..50128f726b 100644 --- a/testing/cmd/testing_unit_tests_shuffle.cpp +++ b/testing/cmd/testing_unit_tests_shuffle.cpp @@ -55,7 +55,7 @@ void run () block_indices << BLOCK_INDICES; assert (block_indices.size() == ROWS); vector> blocks (block_indices.maxCoeff()+1); - for (size_t i = 0; i != block_indices.size(); ++i) + for (ssize_t i = 0; i != block_indices.size(); ++i) blocks[block_indices[i]].insert (i); auto test = [&] (const bool result, const std::string msg)