summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5Dchunk.c7
-rw-r--r--test/dtypes.c4
2 files changed, 6 insertions, 5 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c
index 6914607..fdb1e22 100644
--- a/src/H5Dchunk.c
+++ b/src/H5Dchunk.c
@@ -3689,9 +3689,10 @@ H5D__chunk_collective_fill(const H5D_t *dset, hid_t dxpl_id,
blocks++;
}
- /* MSC - should use this if MPI_type_create_hindexed block is working */
- //mpi_code = MPI_Type_create_hindexed_block(blocks, block_len, chunk_disp_array,
- //MPI_BYTE, &file_type);
+ /* MSC
+ * should use this if MPI_type_create_hindexed block is working
+ * mpi_code = MPI_Type_create_hindexed_block(blocks, block_len, chunk_disp_array, MPI_BYTE, &file_type);
+ */
mpi_code = MPI_Type_create_hindexed(blocks, block_lens, chunk_disp_array,
MPI_BYTE, &file_type);
if(mpi_code != MPI_SUCCESS)
diff --git a/test/dtypes.c b/test/dtypes.c
index 33d2bbc..65f5f8c 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -65,7 +65,7 @@
FAIL_STACK_ERROR \
if((NMEMBS) != H5I_nmembers(H5I_DATATYPE)) { \
H5_FAILED(); \
- printf(" #dtype ids expected: %lld; found: %d\n", (long long)NMEMBS, \
+ printf(" #dtype ids expected: %lld; found: %"PRId64"\n", (long long)NMEMBS, \
H5I_nmembers(H5I_DATATYPE)); \
goto error; \
}
@@ -3008,7 +3008,7 @@ test_compound_16(void)
if(H5Fget_obj_ids(file, H5F_OBJ_DATATYPE, (size_t)2, open_dtypes) < 0) TEST_ERROR
if(open_dtypes[1]) {
H5_FAILED(); AT();
- printf(" H5Fget_obj_ids returned as second id: %d; expected: 0\n", open_dtypes[1]);
+ printf(" H5Fget_obj_ids returned as second id: %"PRId64"; expected: 0\n", open_dtypes[1]);
goto error;
}