diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Smpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Smpio.c b/src/H5Smpio.c index 7105ef9..9cbc8ec 100644 --- a/src/H5Smpio.c +++ b/src/H5Smpio.c @@ -621,8 +621,8 @@ static herr_t H5S_obtain_datatype(const hsize_t size[], #else blocklen = (int *)HDcalloc((size_t)outercount,sizeof(int)); - disp = (MPI_Aint *)HDcalloc((size_t)outercount,sizeof(int)); - inner_type = (MPI_Datatype *)HDcalloc((size_t)outercount,sizeof(int)); + disp = (MPI_Aint *)HDcalloc((size_t)outercount,sizeof(MPI_Aint)); + inner_type = (MPI_Datatype *)HDcalloc((size_t)outercount,sizeof(MPI_Datatype)); #endif |