From: Timo Heister Date: Mon, 4 Mar 2013 01:31:17 +0000 (+0000) Subject: avoid warning X-Git-Tag: v8.0.0~1097 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57c501ad2b45cf4f8d5b40be34e9ca9533c3f347;p=dealii.git avoid warning git-svn-id: https://svn.dealii.org/trunk@28713 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/lac/vector.templates.h b/deal.II/include/deal.II/lac/vector.templates.h index ddd7128aa9..18947aad70 100644 --- a/deal.II/include/deal.II/lac/vector.templates.h +++ b/deal.II/include/deal.II/lac/vector.templates.h @@ -645,7 +645,7 @@ namespace internal } n_chunks++; } - AssertDimension(X - X_original, vec_size); + AssertDimension(static_cast(X - X_original), vec_size); // now sum the results from the chunks // recursively