Skip to content

Commit 1dab61d

Browse files
committed
oshmem/fortran: fix warning mesages && fix size
1 parent bbc6d4b commit 1dab61d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oshmem/shmem/fortran/shmem_put_f.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ SHMEM_GENERATE_FORTRAN_BINDINGS_SUB (void,
3434
void shmem_put_f(FORTRAN_POINTER_T target, FORTRAN_POINTER_T source, MPI_Fint *length, MPI_Fint *pe)
3535
{
3636
MCA_SPML_CALL(put(FPTR_2_VOID_PTR(target),
37+
OMPI_FINT_2_INT(*length) * 8,
3738
FPTR_2_VOID_PTR(source),
38-
OMPI_FINT_2_INT(*length),
3939
OMPI_FINT_2_INT(*pe)));
4040
}
4141

0 commit comments

Comments
 (0)