diff options
author | kmu <kmu@hdfgroup.org> | 2020-02-28 20:47:13 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2020-02-28 20:47:13 (GMT) |
commit | b5cf422799797cf0b573cc9992f866381bd63054 (patch) | |
tree | be84c0bf33dfed0b5dc37b909dc508eddf093d67 /testpar | |
parent | d7eec7d6ec721ce34ccd32a75261e7711bd3ee1b (diff) | |
download | hdf5-b5cf422799797cf0b573cc9992f866381bd63054.zip hdf5-b5cf422799797cf0b573cc9992f866381bd63054.tar.gz hdf5-b5cf422799797cf0b573cc9992f866381bd63054.tar.bz2 |
revert type cast
Diffstat (limited to 'testpar')
-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, |