summaryrefslogtreecommitdiffstats
path: root/tools/test/h5diff
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-11-25 21:17:55 (GMT)
committerkmu <kmu@hdfgroup.org>2019-11-25 21:17:55 (GMT)
commitfc61b7a9f3a38331809ebcb6247482943947cdb8 (patch)
treeba9de335ebbd634656bf414d74eea506a1522227 /tools/test/h5diff
parentd242a900f420b040e364f6c0976c01593e955db3 (diff)
downloadhdf5-fc61b7a9f3a38331809ebcb6247482943947cdb8.zip
hdf5-fc61b7a9f3a38331809ebcb6247482943947cdb8.tar.gz
hdf5-fc61b7a9f3a38331809ebcb6247482943947cdb8.tar.bz2
using a different MACRO
Diffstat (limited to 'tools/test/h5diff')
-rw-r--r--tools/test/h5diff/dynlib_diff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/h5diff/dynlib_diff.c b/tools/test/h5diff/dynlib_diff.c
index 5989b38..1b98068 100644
--- a/tools/test/h5diff/dynlib_diff.c
+++ b/tools/test/h5diff/dynlib_diff.c
@@ -70,7 +70,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;
- ASSIGN_TO_SMALLER_SIZE(*int_ptr, char, temp - MULTIPLIER, int);
+ H5_CHECKED_ASSIGN(*int_ptr, char, temp - MULTIPLIER, int);
int_ptr++;
buf_left -= sizeof(*int_ptr);
} /* end while */
@@ -79,7 +79,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;
- ASSIGN_TO_SMALLER_SIZE(*int_ptr, char, temp + MULTIPLIER, int);
+ H5_CHECKED_ASSIGN(*int_ptr, char, temp + MULTIPLIER, int);
int_ptr++;
buf_left -= sizeof(*int_ptr);
} /* end while */