From 3af0b170d89920b1474f8f62cc2d1413996b420b Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sat, 24 Nov 2018 22:11:36 +0100 Subject: [PATCH] Add a static_cast back in --- include/deal.II/hp/dof_level.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/deal.II/hp/dof_level.h b/include/deal.II/hp/dof_level.h index dfd90e6f9b..3af1013c4b 100644 --- a/include/deal.II/hp/dof_level.h +++ b/include/deal.II/hp/dof_level.h @@ -349,7 +349,8 @@ namespace internal { // convert the active_fe_index into a signed type, flip all // bits, and get the unsigned representation back - return ~(static_cast(active_fe_index)); + return static_cast( + ~(static_cast(active_fe_index))); } -- 2.39.5