]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Cast numbers to avoid some compiler warnings.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 8 May 2006 21:31:48 +0000 (21:31 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 8 May 2006 21:31:48 +0000 (21:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@13079 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/multigrid/mg_dof_accessor.cc

index 8f20f9494d558119ed0773463b1f64fac70e2d59..d74ee6bec4851c535fc042797b818615e898018c 100644 (file)
@@ -33,8 +33,8 @@ template <int structdim, int dim>
 MGDoFAccessor<structdim, dim>::MGDoFAccessor ()
                :
                BaseClass (0,
-                          deal_II_numbers::invalid_unsigned_int,
-                          deal_II_numbers::invalid_unsigned_int,
+                          static_cast<int>(deal_II_numbers::invalid_unsigned_int),
+                          static_cast<int>(deal_II_numbers::invalid_unsigned_int),
                           0),
                mg_dof_handler(0)
 {

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.