From: Daniel Arndt Date: Sat, 24 Nov 2018 21:11:36 +0000 (+0100) Subject: Add a static_cast back in X-Git-Tag: v9.1.0-rc1~539^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3af0b170d89920b1474f8f62cc2d1413996b420b;p=dealii.git Add a static_cast back in --- 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))); }