From: heister Date: Mon, 4 Mar 2013 01:31:17 +0000 (+0000) Subject: avoid warning X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8c766fedc3d21c5af7b6a2618ce8c231774a064;p=dealii-svn.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