Skip to content

Commit 033b2ca

Browse files
committed
oshmem/fortran: fix warning mesages && fix size
1 parent e897e3d commit 033b2ca

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

oshmem/shmem/fortran/shmem_put_f.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/*
2-
* Copyright (c) 2013 Mellanox Technologies, Inc.
3-
* All rights reserved.
4-
* Copyright (c) 2013 Cisco Systems, Inc. All rights reserved.
2+
* Copyright (c) 2013-2016 Mellanox Technologies, Inc. All rights reserved.
3+
* Copyright (c) 2013 Cisco Systems, Inc. All rights reserved.
54
* $COPYRIGHT$
65
*
76
* Additional copyrights may follow
@@ -34,8 +33,8 @@ SHMEM_GENERATE_FORTRAN_BINDINGS_SUB (void,
3433
void shmem_put_f(FORTRAN_POINTER_T target, FORTRAN_POINTER_T source, MPI_Fint *length, MPI_Fint *pe)
3534
{
3635
MCA_SPML_CALL(put(FPTR_2_VOID_PTR(target),
36+
OMPI_FINT_2_INT(*length) * 8,
3737
FPTR_2_VOID_PTR(source),
38-
OMPI_FINT_2_INT(*length),
3938
OMPI_FINT_2_INT(*pe)));
4039
}
4140

0 commit comments

Comments
 (0)