Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use correct type
authorAugustin Degomme <adegomme@users.noreply.github.com>
Sat, 19 Mar 2022 16:39:20 +0000 (17:39 +0100)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Sat, 19 Mar 2022 16:39:20 +0000 (17:39 +0100)
src/smpi/bindings/smpi_pmpi_win.cpp

index bfbef3a..26b6532 100644 (file)
@@ -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;