]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
avoid warning
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 4 Mar 2013 01:31:17 +0000 (01:31 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 4 Mar 2013 01:31:17 +0000 (01:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@28713 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/vector.templates.h

index ddd7128aa9bd3e009291c71c88d36e0aab509fdf..18947aad708708db445cbaaa65566e45707bc611 100644 (file)
@@ -645,7 +645,7 @@ namespace internal
                 }
               n_chunks++;
             }
-          AssertDimension(X - X_original, vec_size);
+          AssertDimension(static_cast<unsigned int>(X - X_original), vec_size);
 
           // now sum the results from the chunks
           // recursively

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.