Skip to content

Commit 7f59d2a

Browse files
committed
fortran/mpif-h: fix MPI_Win_free_keyval
initialize inout parameter when OMPI_SIZEOF_FORTRAN_INTEGER > SIZEOF_INT
1 parent 8f93b15 commit 7f59d2a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ompi/mpi/fortran/mpif-h/win_free_keyval_f.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Copyright (c) 2004-2005 The Regents of the University of California.
1111
* All rights reserved.
1212
* Copyright (c) 2011-2012 Cisco Systems, Inc. All rights reserved.
13-
* Copyright (c) 2015 Research Organization for Information Science
13+
* Copyright (c) 2015-2016 Research Organization for Information Science
1414
* and Technology (RIST). All rights reserved.
1515
* $COPYRIGHT$
1616
*
@@ -71,6 +71,8 @@ void ompi_win_free_keyval_f(MPI_Fint *win_keyval, MPI_Fint *ierr)
7171
int c_ierr;
7272
OMPI_SINGLE_NAME_DECL(win_keyval);
7373

74+
OMPI_SINGLE_FINT_2_INT(win_keyval);
75+
7476
c_ierr = PMPI_Win_free_keyval(OMPI_SINGLE_NAME_CONVERT(win_keyval));
7577
if (NULL != ierr) *ierr = OMPI_INT_2_FINT(c_ierr);
7678

0 commit comments

Comments
 (0)