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=0ad90469dc00f7e8e5b2b6313d707538abb14baa;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;