From: Timo Heister Date: Sat, 23 Jun 2012 01:25:09 +0000 (+0000) Subject: step-38: fix compilation error with some compilers X-Git-Tag: v8.0.0~2494 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65ab2daf10b8b77fbbbee42de7e5c538cf2fd903;p=dealii.git step-38: fix compilation error with some compilers git-svn-id: https://svn.dealii.org/trunk@25638 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-38/step-38.cc b/deal.II/examples/step-38/step-38.cc index 72c85c8787..980792100e 100644 --- a/deal.II/examples/step-38/step-38.cc +++ b/deal.II/examples/step-38/step-38.cc @@ -579,7 +579,7 @@ namespace Step38 mapping.get_degree()); std::string filename ("solution-"); - filename += ('0'+spacedim); + filename += '0'+static_cast(spacedim); filename += "d.vtk"; std::ofstream output (filename.c_str()); data_out.write_vtk (output);