From 16eddb78484b565a2df4cdfb25137f17f03d291c Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 7 Apr 1998 16:57:26 +0000 Subject: [PATCH] Remove compiler warning. git-svn-id: https://svn.dealii.org/trunk@156 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/Attic/examples/dof/dof_test.cc | 4 ++-- tests/big-tests/dof/dof_test.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deal.II/deal.II/Attic/examples/dof/dof_test.cc b/deal.II/deal.II/Attic/examples/dof/dof_test.cc index c2f82c0c4a..c49075b912 100644 --- a/deal.II/deal.II/Attic/examples/dof/dof_test.cc +++ b/deal.II/deal.II/Attic/examples/dof/dof_test.cc @@ -180,8 +180,8 @@ void TestCases::run (ParameterHandler &prm) { { // set the boundary function Boundary *boundary = (test_case==2 ? - new Ball() : - new CurvedLine()); + static_cast*>(new Ball()) : + static_cast*>(new CurvedLine())); tria->set_boundary (boundary); // refine once diff --git a/tests/big-tests/dof/dof_test.cc b/tests/big-tests/dof/dof_test.cc index c2f82c0c4a..c49075b912 100644 --- a/tests/big-tests/dof/dof_test.cc +++ b/tests/big-tests/dof/dof_test.cc @@ -180,8 +180,8 @@ void TestCases::run (ParameterHandler &prm) { { // set the boundary function Boundary *boundary = (test_case==2 ? - new Ball() : - new CurvedLine()); + static_cast*>(new Ball()) : + static_cast*>(new CurvedLine())); tria->set_boundary (boundary); // refine once -- 2.39.5