Skip to content

Commit 7f5fba9

Browse files
committed
C interface templates - return MPI_Fint for c2f
A bug was found with the c templates for the handle conversion routines comm_c2f and win_c2f while working on open-mpi#13168 Signed-off-by: Howard Pritchard <[email protected]>
1 parent 96db7e2 commit 7f5fba9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ompi/mpi/c/comm_c2f.c.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#include "ompi/mpi/fortran/base/fint_2_int.h"
3131
#include "ompi/memchecker.h"
3232

33-
PROTOTYPE ERROR_CLASS comm_c2f(COMM comm)
33+
PROTOTYPE FINT comm_c2f(COMM comm)
3434
{
3535
MEMCHECKER(
3636
memchecker_comm(comm);

ompi/mpi/c/win_c2f.c.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include "ompi/errhandler/errhandler.h"
3232
#include "ompi/mpi/fortran/base/fint_2_int.h"
3333

34-
PROTOTYPE ERROR_CLASS win_c2f(WIN win)
34+
PROTOTYPE FINT win_c2f(WIN win)
3535
{
3636
if ( MPI_PARAM_CHECK) {
3737
OMPI_ERR_INIT_FINALIZE(FUNC_NAME);

0 commit comments

Comments
 (0)