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=b0e863eb7894ac2f8fd333a35aa4e64087fcd395;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