diff options
author | kmu <kmu@hdfgroup.org> | 2020-02-28 20:47:13 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:31:55 (GMT) |
commit | 5228f61f7946a298165c0728c25b966095d49621 (patch) | |
tree | 08886a48ff87d9069628c4adab00fa4486487028 /testpar/t_mpi.c | |
parent | 47e2160f22e640338452690fe07ad941e5440945 (diff) | |
download | hdf5-5228f61f7946a298165c0728c25b966095d49621.zip hdf5-5228f61f7946a298165c0728c25b966095d49621.tar.gz hdf5-5228f61f7946a298165c0728c25b966095d49621.tar.bz2 |
revert type cast
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 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, |