summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorKimmy Mu <kmu@hdfgroup.org>2020-01-24 18:31:45 (GMT)
committerkmu <kmu@hdfgroup.org>2020-01-28 02:48:13 (GMT)
commit96fbea89e79493db7e8f2ee040de21adfec84506 (patch)
tree8b6c929d8d4852e9196e527176c52487595e52ef /testpar
parentfe75e8f66f79c16d083d80ccdca303f267e96745 (diff)
downloadhdf5-96fbea89e79493db7e8f2ee040de21adfec84506.zip
hdf5-96fbea89e79493db7e8f2ee040de21adfec84506.tar.gz
hdf5-96fbea89e79493db7e8f2ee040de21adfec84506.tar.bz2
Merge pull request #2306 in HDFFV/hdf5 from ~KMU/hdf5:develop to develop
* commit 'a152ffafb322551033adb594112f53836f7eb240': 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",