Skip to content

Commit ebc90f9

Browse files
authored
Merge pull request #2806 from jjhursey/fix/ibm/aint-diff-type
Fix a minor error at MPI_AINT_DIFF.
2 parents 0408c11 + 9718bba commit ebc90f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ompi/include/mpi.h.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* Copyright (c) 2015 University of Houston. All rights reserved.
2020
* Copyright (c) 2015 Research Organization for Information Science
2121
* and Technology (RIST). All rights reserved.
22+
* Copyright (c) 2017 IBM Corporation. All rights reserved.
2223
* $COPYRIGHT$
2324
*
2425
* Additional copyrights may follow
@@ -1182,7 +1183,7 @@ OMPI_DECLSPEC extern MPI_Fint *MPI_F_STATUSES_IGNORE;
11821183
#define MPI_Aint_add(base, disp) ((MPI_Aint) ((char *) (base) + (disp)))
11831184
#define MPI_Aint_diff(addr1, addr2) ((MPI_Aint) ((char *) (addr1) - (char *) (addr2)))
11841185
#define PMPI_Aint_add(base, disp) MPI_Aint_add(base, disp)
1185-
#define PMPI_Aint_diff(addr1, addr2) PMPI_Aint_diff(addr1, addr2)
1186+
#define PMPI_Aint_diff(addr1, addr2) MPI_Aint_diff(addr1, addr2)
11861187

11871188
/*
11881189
* MPI API

0 commit comments

Comments
 (0)