]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid warning in mpi/attach_data_02 6987/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Thu, 26 Jul 2018 12:38:41 +0000 (14:38 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Thu, 26 Jul 2018 12:39:04 +0000 (14:39 +0200)
tests/mpi/attach_data_02.cc

index 55902e4a9ec77028923f1e1f31415ecbb9b28686..0c6c4f4fb8789bd229a6a8dedcf65f78b3079f4d 100644 (file)
@@ -41,7 +41,7 @@ pack_function(
   const typename parallel::distributed::Triangulation<dim, dim>::CellStatus
     status)
 {
-  static int                some_number = 1;
+  static unsigned int       some_number = 1;
   std::vector<unsigned int> some_vector(some_number);
   for (unsigned int i = 0; i < some_number; ++i)
     some_vector[i] = i;

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.