From 5d6d48f5c8666a4566ec4c1dd4d64dcadb810cb6 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Sat, 19 Mar 2022 17:39:20 +0100 Subject: [PATCH] use correct type --- src/smpi/bindings/smpi_pmpi_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smpi/bindings/smpi_pmpi_win.cpp b/src/smpi/bindings/smpi_pmpi_win.cpp index bfbef3af37..26b653209c 100644 --- a/src/smpi/bindings/smpi_pmpi_win.cpp +++ b/src/smpi/bindings/smpi_pmpi_win.cpp @@ -30,7 +30,7 @@ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(smpi_pmpi); int PMPI_Win_create( void *base, MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, MPI_Win *win){ int retval = 0; CHECK_COMM(5) - CHECK_BUFFER(1, base, size, MPI_CHAR) + CHECK_BUFFER(1, base, size, MPI_BYTE) CHECK_NEGATIVE(2, MPI_ERR_OTHER, size) CHECK_NEGATIVE(3, MPI_ERR_OTHER, disp_unit) const SmpiBenchGuard suspend_bench; -- 2.20.1