summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKimmy Mu <kmu@hdfgroup.org>2020-01-09 21:31:19 (GMT)
committerKimmy Mu <kmu@hdfgroup.org>2020-01-09 21:31:19 (GMT)
commit8d8b9f8ae8ed637b5e6028967fce13f7da85c7a8 (patch)
treeccadb7aeb83f16f8fff51a48d149583f57c8eaa6 /tools
parentc3ae64a8753e6449a8c5c5e58325f0cb7e7990b6 (diff)
parent6b1b4b3c0bdd803835efe8c531965bb9900a5363 (diff)
downloadhdf5-8d8b9f8ae8ed637b5e6028967fce13f7da85c7a8.zip
hdf5-8d8b9f8ae8ed637b5e6028967fce13f7da85c7a8.tar.gz
hdf5-8d8b9f8ae8ed637b5e6028967fce13f7da85c7a8.tar.bz2
Merge pull request #2244 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings to develop
* commit '6b1b4b3c0bdd803835efe8c531965bb9900a5363': fix test assert fail error
Diffstat (limited to 'tools')
-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 */