From: Timo Heister Date: Fri, 8 Jul 2022 20:29:55 +0000 (-0400) Subject: maybe make clang-tidy happy X-Git-Tag: v9.5.0-rc1~1100^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=051750e21050617b937f2cc13b6a62ac0e04c64b;p=dealii.git maybe make clang-tidy happy --- diff --git a/source/base/data_out_base.cc b/source/base/data_out_base.cc index 623374586a..e9b8d0f37c 100644 --- a/source/base/data_out_base.cc +++ b/source/base/data_out_base.cc @@ -7652,8 +7652,14 @@ namespace DataOutBase // rank 0 also collects and writes the size of the data from each rank in // bytes: std::vector chunk_sizes(n_ranks); - int ierr = MPI_Gather( - &my_size, 1, MPI_UINT64_T, chunk_sizes.data(), 1, MPI_UINT64_T, 0, comm); + int ierr = MPI_Gather(&my_size, + 1, + MPI_UINT64_T, + static_cast(chunk_sizes.data()), + 1, + MPI_UINT64_T, + 0, + comm); AssertThrowMPI(ierr); MPI_Info info;