diff options
author | kmu <kmu@hdfgroup.org> | 2020-02-28 20:49:40 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2020-02-28 20:49:40 (GMT) |
commit | 7e6fd7e4adf70a40deb0d90e3e9b55d663832a43 (patch) | |
tree | 766eec629eb7eadcde16b72f9a774bad3d89de96 /testpar | |
parent | 8c0d1b248a4c444dd14e151cbb2d07c6af77d5bc (diff) | |
download | hdf5-7e6fd7e4adf70a40deb0d90e3e9b55d663832a43.zip hdf5-7e6fd7e4adf70a40deb0d90e3e9b55d663832a43.tar.gz hdf5-7e6fd7e4adf70a40deb0d90e3e9b55d663832a43.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, |