From: heister Date: Sat, 23 Jun 2012 01:25:09 +0000 (+0000) Subject: step-38: fix compilation error with some compilers X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=428f2693cdd6e73a66756d92e8bc955371dd3918;p=dealii-svn.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);