From: bangerth Date: Wed, 17 Jul 2013 19:18:33 +0000 (+0000) Subject: Avoid warning about casting double to unsigned int. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b260986d429810e3c14db3677a1e9240d9341b0;p=dealii-svn.git Avoid warning about casting double to unsigned int. git-svn-id: https://svn.dealii.org/trunk@30024 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/grid/grid_out.cc b/deal.II/source/grid/grid_out.cc index c5f23b65bd..bb3e039926 100644 --- a/deal.II/source/grid/grid_out.cc +++ b/deal.II/source/grid/grid_out.cc @@ -1657,7 +1657,7 @@ void GridOut::write_svg(const Triangulation<2,2> &tria, std::ostream &out) const x_dimension_perspective = x_max_perspective - x_min_perspective; y_dimension_perspective = y_max_perspective - y_min_perspective; - cell_label_font_size = static_cast(.5 + (height/100.) * 2.75) * 9. * (min_level_min_vertex_distance / std::min(x_dimension, y_dimension)); + cell_label_font_size = static_cast((.5 + (height/100.) * 2.75) * 9. * (min_level_min_vertex_distance / std::min(x_dimension, y_dimension))); // create the svg file with an internal style sheet