Skip to content

Commit cba6ef5

Browse files
author
Alessandro Fanfarillo
committed
stat attribute in last position for get and put for compatibility
1 parent be7a1a6 commit cba6ef5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mpi/mpi_caf.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ PREFIX (send) (caf_token_t token, size_t offset, int image_index,
11151115
gfc_descriptor_t *dest,
11161116
caf_vector_t *dst_vector __attribute__ ((unused)),
11171117
gfc_descriptor_t *src, int dst_kind, int src_kind,
1118-
int *stat, bool mrt)
1118+
bool mrt, int *stat)
11191119
{
11201120
/* FIXME: Implement vector subscripts, type conversion and check whether
11211121
string-kind conversions are permitted.
@@ -1515,7 +1515,7 @@ PREFIX (get) (caf_token_t token, size_t offset,
15151515
gfc_descriptor_t *src,
15161516
caf_vector_t *src_vector __attribute__ ((unused)),
15171517
gfc_descriptor_t *dest, int src_kind, int dst_kind,
1518-
int *stat, bool mrt)
1518+
bool mrt, int *stat)
15191519
{
15201520
size_t i, size;
15211521
int ierr = 0, j, flag;

0 commit comments

Comments
 (0)