From: Daniel Arndt Date: Sun, 22 Apr 2018 20:04:05 +0000 (+0200) Subject: Fix MSVC warning regarding comparison of signed and unsigned numbers X-Git-Tag: v9.0.0-rc1~141^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6286%2Fhead;p=dealii.git Fix MSVC warning regarding comparison of signed and unsigned numbers --- 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