summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2020-01-24 18:06:26 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:31:53 (GMT)
commit136d3b7ea2e124f1f0c99f5e3032bca8b33a3222 (patch)
tree3f5fb21371bb2a9d5fa568ce985a6e331ae4d095 /testpar
parent6e8ce00c0b2fabbe552b56002f9b21916472b3d4 (diff)
downloadhdf5-136d3b7ea2e124f1f0c99f5e3032bca8b33a3222.zip
hdf5-136d3b7ea2e124f1f0c99f5e3032bca8b33a3222.tar.gz
hdf5-136d3b7ea2e124f1f0c99f5e3032bca8b33a3222.tar.bz2
fix assert fail
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_mpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testpar/t_mpi.c b/testpar/t_mpi.c
index 064fb57..2dbb4d2 100644
--- a/testpar/t_mpi.c
+++ b/testpar/t_mpi.c
@@ -303,7 +303,7 @@ static int test_mpio_gb_file(char *filename) {
mpi_rank, mpi_off, mpi_off);
/* set data to some trivial pattern for easy verification */
for (j = 0; j < MB; j++)
- H5_CHECKED_ASSIGN(*(buf + j), int8_t, i * mpi_size + mpi_rank, int);
+ *(buf + j) = (int8_t)(i * mpi_size + mpi_rank);
if (VERBOSE_MED)
HDfprintf(stdout,
"proc %d: writing %d bytes at offset %lld\n",