diff options
author | kmu <kmu@hdfgroup.org> | 2020-01-24 18:06:26 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2020-01-24 18:06:26 (GMT) |
commit | a152ffafb322551033adb594112f53836f7eb240 (patch) | |
tree | 9e38a551f41ad1e7db7c200429786818e3cec5b6 /testpar | |
parent | fb6328b6315d62aed57a98058c711ef086aa0db1 (diff) | |
download | hdf5-a152ffafb322551033adb594112f53836f7eb240.zip hdf5-a152ffafb322551033adb594112f53836f7eb240.tar.gz hdf5-a152ffafb322551033adb594112f53836f7eb240.tar.bz2 |
fix assert fail
Diffstat (limited to 'testpar')
-rw-r--r-- | testpar/t_mpi.c | 2 |
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", |