From: Wolfgang Bangerth Date: Fri, 25 Feb 2022 21:56:40 +0000 (-0700) Subject: Update source/distributed/tria.cc X-Git-Tag: v9.4.0-rc1~441^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13448%2Fhead;p=dealii.git Update source/distributed/tria.cc Co-authored-by: Marc Fehling --- diff --git a/source/distributed/tria.cc b/source/distributed/tria.cc index af2cf7c380..80ee4022e0 100644 --- a/source/distributed/tria.cc +++ b/source/distributed/tria.cc @@ -1518,7 +1518,7 @@ namespace ExcMessage("p4est uses 'signed int' to represent the partition " "weights for cells. The weight provided here exceeds " "the maximum value represented as a 'signed int'.")); - return weight; + return static_cast(weight); } template