summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKimmy Mu <kmu@hdfgroup.org>2020-01-09 21:31:19 (GMT)
committerkmu <kmu@hdfgroup.org>2020-01-10 03:28:07 (GMT)
commit2402d770c2b9791f4faec29a1c8214debc6f63ac (patch)
treefcce8efc38191afbe58256b8c1088a21cb9de090 /tools
parent7889e4cb56589773dbf998f163b9d286203f4340 (diff)
downloadhdf5-2402d770c2b9791f4faec29a1c8214debc6f63ac.zip
hdf5-2402d770c2b9791f4faec29a1c8214debc6f63ac.tar.gz
hdf5-2402d770c2b9791f4faec29a1c8214debc6f63ac.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/h5dump/h5dumpgentest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5dump/h5dumpgentest.c b/tools/h5dump/h5dumpgentest.c
index 1d8c2d6..967bc0f 100644
--- a/tools/h5dump/h5dumpgentest.c
+++ b/tools/h5dump/h5dumpgentest.c
@@ -10343,7 +10343,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 */
@@ -10352,7 +10352,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 */