diff options
author | kmu <kmu@hdfgroup.org> | 2019-11-25 21:17:55 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2019-11-25 21:17:55 (GMT) |
commit | fc61b7a9f3a38331809ebcb6247482943947cdb8 (patch) | |
tree | ba9de335ebbd634656bf414d74eea506a1522227 /tools/test/h5dump/dynlib_dump.c | |
parent | d242a900f420b040e364f6c0976c01593e955db3 (diff) | |
download | hdf5-fc61b7a9f3a38331809ebcb6247482943947cdb8.zip hdf5-fc61b7a9f3a38331809ebcb6247482943947cdb8.tar.gz hdf5-fc61b7a9f3a38331809ebcb6247482943947cdb8.tar.bz2 |
using a different MACRO
Diffstat (limited to 'tools/test/h5dump/dynlib_dump.c')
-rw-r--r-- | tools/test/h5dump/dynlib_dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/h5dump/dynlib_dump.c b/tools/test/h5dump/dynlib_dump.c index 5989b38..1b98068 100644 --- a/tools/test/h5dump/dynlib_dump.c +++ b/tools/test/h5dump/dynlib_dump.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 */ |