diff options
author | Kimmy Mu <kmu@hdfgroup.org> | 2020-01-09 21:31:19 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2020-01-10 03:22:19 (GMT) |
commit | 6d790e5c85c4e590475a3864d82f16ffd0937cc1 (patch) | |
tree | 75361b279aec7b5ec2b5efd16afca9e8ac50b5b1 /testpar/t_mpi.c | |
parent | 6710ed5e0a03de50a5679c92437df82893da6813 (diff) | |
download | hdf5-6d790e5c85c4e590475a3864d82f16ffd0937cc1.zip hdf5-6d790e5c85c4e590475a3864d82f16ffd0937cc1.tar.gz hdf5-6d790e5c85c4e590475a3864d82f16ffd0937cc1.tar.bz2 |
Merge pull request #2244 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings to develop
* commit '6b1b4b3c0bdd803835efe8c531965bb9900a5363':
fix test assert fail error
Diffstat (limited to 'testpar/t_mpi.c')
-rw-r--r-- | testpar/t_mpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testpar/t_mpi.c b/testpar/t_mpi.c index 91b8f8c..fe78317 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", @@ -351,7 +351,7 @@ static int test_mpio_gb_file(char *filename) { mrc = MPI_File_read_at(fh, mpi_off, buf, MB, MPI_BYTE, &mpi_stat); INFO((mrc == MPI_SUCCESS), "GB size file read"); - H5_CHECKED_ASSIGN(expected, int8_t, i * mpi_size + (mpi_size - mpi_rank - 1), int); + expected = (int8_t)(i * mpi_size + (mpi_size - mpi_rank - 1)); vrfyerrs = 0; for (j = 0; j < MB; j++) { if ((*(buf + j) != expected) |