summaryrefslogtreecommitdiffstats
path: root/tools/test/h5dump
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2020-01-10 16:02:56 (GMT)
committerkmu <kmu@hdfgroup.org>2020-01-10 16:02:56 (GMT)
commit48cc850199901c5b67a40183262f4ead975b884f (patch)
treeee82518a28017c36879ec0db5be594cf0c85843a /tools/test/h5dump
parentad80fae3cc0ece39f510612083cabacd9e059aeb (diff)
downloadhdf5-48cc850199901c5b67a40183262f4ead975b884f.zip
hdf5-48cc850199901c5b67a40183262f4ead975b884f.tar.gz
hdf5-48cc850199901c5b67a40183262f4ead975b884f.tar.bz2
fix test assert fail error
Diffstat (limited to 'tools/test/h5dump')
-rw-r--r--tools/test/h5dump/h5dumpgentest.c4
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 */