From 370602164bf5958fd95ac398989e1b95d95b909c Mon Sep 17 00:00:00 2001 From: Jake Tronge Date: Thu, 17 Oct 2024 18:07:55 -0600 Subject: [PATCH] Silence warnings due to mixed signs with OMPI_COUNT_ARRAY_INIT Signed-off-by: Jake Tronge --- ompi/util/count_disp_array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/util/count_disp_array.h b/ompi/util/count_disp_array.h index 964b67bc324..f95d65dc858 100644 --- a/ompi/util/count_disp_array.h +++ b/ompi/util/count_disp_array.h @@ -38,7 +38,7 @@ static inline void ompi_count_array_init_c(ompi_count_array_t *array, const size const int *: ompi_count_array_init, \ size_t *: ompi_count_array_init_c, \ const size_t *: ompi_count_array_init_c, \ - const MPI_Count *: ompi_count_array_init_c)(array, data) + const MPI_Count *: ompi_count_array_init_c)(array, (const void *) data) #else #define OMPI_COUNT_ARRAY_INIT(array, data) \ do { \