diff options
author | Kimmy Mu <kmu@hdfgroup.org> | 2020-02-29 04:12:54 (GMT) |
---|---|---|
committer | Kimmy Mu <kmu@hdfgroup.org> | 2020-02-29 04:12:54 (GMT) |
commit | 176a7a86597d78b5cc9042449c8110a0b980c78f (patch) | |
tree | 0cd19835a4084d4d88e3e0c3558d71068e046896 | |
parent | e4641e277bf541a9464ab50727933b34ce2a8471 (diff) | |
parent | 7e6fd7e4adf70a40deb0d90e3e9b55d663832a43 (diff) | |
download | hdf5-176a7a86597d78b5cc9042449c8110a0b980c78f.zip hdf5-176a7a86597d78b5cc9042449c8110a0b980c78f.tar.gz hdf5-176a7a86597d78b5cc9042449c8110a0b980c78f.tar.bz2 |
Merge pull request #2429 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/type_cast_12 to hdf5_1_12
* commit '7e6fd7e4adf70a40deb0d90e3e9b55d663832a43':
revert type cast
-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 670e02b..9e5d839 100644 --- a/testpar/t_mpi.c +++ b/testpar/t_mpi.c @@ -526,7 +526,7 @@ static int test_mpio_1wMr(char *filename, int special_request) { * ==================================================*/ irank = 0; for (i = 0; i < DIMSIZE; i++) - H5_CHECKED_ASSIGN(writedata[i], uint8_t, irank * DIMSIZE + i, int) + writedata[i] = (uint8_t)(irank * DIMSIZE + i); mpi_off = irank * DIMSIZE; /* Only one process writes */ @@ -597,7 +597,7 @@ static int test_mpio_1wMr(char *filename, int special_request) { return 1; }; for (i = 0; i < DIMSIZE; i++) { - H5_CHECKED_ASSIGN(expect_val, uint8_t, irank * DIMSIZE + i, int); + expect_val = (uint8_t)(irank * DIMSIZE + i); if (readdata[i] != expect_val) { PRINTID; HDprintf("read data[%d:%d] got %02x, expect %02x\n", irank, i, |