From: Marc Fehling Date: Wed, 10 Jul 2024 16:18:40 +0000 (+0200) Subject: Fix MSVC warning in step-63. X-Git-Tag: v9.6.0-rc1~105^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F17242%2Fhead;p=dealii.git Fix MSVC warning in step-63. --- diff --git a/examples/step-63/step-63.cc b/examples/step-63/step-63.cc index 0f305a8545..f6cd947fff 100644 --- a/examples/step-63/step-63.cc +++ b/examples/step-63/step-63.cc @@ -1180,7 +1180,7 @@ namespace Step63 template void AdvectionProblem::run() { - for (unsigned int cycle = 0; cycle < (settings.fe_degree == 1 ? 7 : 5); + for (unsigned int cycle = 0; cycle < (settings.fe_degree == 1 ? 7u : 5u); ++cycle) { std::cout << " Cycle " << cycle << ':' << std::endl;