| d83f41f0 | 26-Mar-2025 |
Pierre Jolivet <pierre@joliv.et> |
Fix -Wshorten-64-to-32
petsc/src/sys/utils/openmp/mpmpishm.c:227:88: warning: implicit conversion loses integer precision: 'PetscInt' (aka 'long') to 'int' [-Wshorten-64-to-32] 227 | PetscCallMP
Fix -Wshorten-64-to-32
petsc/src/sys/utils/openmp/mpmpishm.c:227:88: warning: implicit conversion loses integer precision: 'PetscInt' (aka 'long') to 'int' [-Wshorten-64-to-32] 227 | PetscCallMPI(MPI_Reduce(ctrl->is_omp_master ? MPI_IN_PLACE : cpu_ulongs, cpu_ulongs, nr_cpu_ulongs, MPI_UNSIGNED_LONG, MPI_BOR, 0, ctrl->omp_comm)); | ~~~~~~~~~~ ^~~~~~~~~~~~~
show more ...
|