From b0e863eb7894ac2f8fd333a35aa4e64087fcd395 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 25 Feb 2022 14:56:40 -0700 Subject: [PATCH] Update source/distributed/tria.cc Co-authored-by: Marc Fehling --- source/distributed/tria.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5