From 6ce394faacb120449bef8404fa5a726fd73634c2 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sun, 22 Apr 2018 22:04:05 +0200 Subject: [PATCH] Fix MSVC warning regarding comparison of signed and unsigned numbers --- source/matrix_free/task_info.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/matrix_free/task_info.cc b/source/matrix_free/task_info.cc index d423b6b7fc..97dd3fe79b 100644 --- a/source/matrix_free/task_info.cc +++ b/source/matrix_free/task_info.cc @@ -808,7 +808,7 @@ namespace internal unsigned int counter = 0; unsigned int n_cells = 0; std::vector > renumbering_category(n_categories); - for (unsigned int block=1; block<(n_procs>1 ? 5 : 3); ++block) + for (unsigned int block=1; block<(n_procs>1u ? 5u : 3u); ++block) { // step 1: sort by category for (unsigned int i=0; i