]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/bindings/smpi_pmpi.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Correctly print dots between elements.
[simgrid.git] / src / smpi / bindings / smpi_pmpi.cpp
index 41894787d9159f185001ae48ec79781592f9ee28..66346e8e01498149ce4114443af1c2d77096d827 100644 (file)
@@ -232,7 +232,7 @@ int PMPI_Keyval_free(int* keyval) {
 MPI_Errhandler PMPI_Errhandler_f2c(MPI_Fint errhan){
   if(errhan==-1)
     return MPI_ERRHANDLER_NULL;
-  return static_cast<MPI_Errhandler>(simgrid::smpi::Errhandler::f2c(errhan));
+  return simgrid::smpi::Errhandler::f2c(errhan);
 }
 
 MPI_Fint PMPI_Errhandler_c2f(MPI_Errhandler errhan){