diff options
author | kmu <kmu@hdfgroup.org> | 2020-01-09 18:06:45 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2020-01-09 18:06:45 (GMT) |
commit | 6b1b4b3c0bdd803835efe8c531965bb9900a5363 (patch) | |
tree | 62a976f5ef6e7ffd2b944ad9ffe30702bd1a9144 /tools | |
parent | 30ac64d83aff5e022d51a17fd6c1d72903ae4f02 (diff) | |
download | hdf5-6b1b4b3c0bdd803835efe8c531965bb9900a5363.zip hdf5-6b1b4b3c0bdd803835efe8c531965bb9900a5363.tar.gz hdf5-6b1b4b3c0bdd803835efe8c531965bb9900a5363.tar.bz2 |
fix test assert fail error
Diffstat (limited to 'tools')
-rw-r--r-- | tools/test/h5dump/h5dumpgentest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/h5dump/h5dumpgentest.c b/tools/test/h5dump/h5dumpgentest.c index 6cf2916..d0421d2 100644 --- a/tools/test/h5dump/h5dumpgentest.c +++ b/tools/test/h5dump/h5dumpgentest.c @@ -10488,7 +10488,7 @@ H5Z_filter_dynlibud(unsigned int flags, size_t cd_nelmts, /* Subtract the original value with MULTIPLIER */ while(buf_left > 0) { char temp = *int_ptr; - H5_CHECKED_ASSIGN(*int_ptr, int8_t, temp - MULTIPLIER, int); + *int_ptr = (int8_t)(temp - MULTIPLIER); int_ptr++; buf_left -= sizeof(*int_ptr); } /* end while */ @@ -10497,7 +10497,7 @@ H5Z_filter_dynlibud(unsigned int flags, size_t cd_nelmts, /* Add the original value with MULTIPLIER */ while(buf_left > 0) { char temp = *int_ptr; - H5_CHECKED_ASSIGN(*int_ptr, int8_t, temp + MULTIPLIER, int); + *int_ptr = (int8_t)(temp + MULTIPLIER); int_ptr++; buf_left -= sizeof(*int_ptr); } /* end while */ |