From: bangerth Date: Tue, 10 Apr 2012 08:33:48 +0000 (+0000) Subject: Add an explict cast. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09393a3fa22201ef6d62e7d0056cafa825d253ae;p=dealii-svn.git Add an explict cast. git-svn-id: https://svn.dealii.org/trunk@25400 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/grid/grid_tools.cc b/deal.II/source/grid/grid_tools.cc index 5d39c1f1f7..8c6cea3de2 100644 --- a/deal.II/source/grid/grid_tools.cc +++ b/deal.II/source/grid/grid_tools.cc @@ -1954,7 +1954,7 @@ namespace GridTools } c_data.vertices[j] = map_vert_index[v_index]; - c_data.material_id = face->boundary_indicator(); + c_data.material_id = static_cast(face->boundary_indicator()); } cells.push_back(c_data);