]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
cast needed for gcc 3.2
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 15 Aug 2003 18:45:57 +0000 (18:45 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 15 Aug 2003 18:45:57 +0000 (18:45 +0000)
git-svn-id: https://svn.dealii.org/trunk@7942 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/parameter_handler.cc

index 9cd1c8daf91d7ade968afc3a9628b042d6330180..e361e5b5be889ce21bec06d99ba135d9df5d76a7 100644 (file)
@@ -873,7 +873,7 @@ ParameterHandler::print_parameters_section (std::ostream      &out,
         unsigned int longest_value = 0;
         for (ptr = pd->entries.begin(); ptr != pd->entries.end(); ++ptr) 
           longest_value
-            = std::max (longest_value,         
+            = std::max ((size_t) longest_value,         
                         (pc->entries.find(ptr->first) != pc->entries.end()
                          ?
                          pc->entries[ptr->first].value

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.