diff options
author | kmu <kmu@hdfgroup.org> | 2019-11-26 23:23:34 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2019-11-26 23:23:34 (GMT) |
commit | 4c8a2f726a2eb47a937430e28994db8be1b87b00 (patch) | |
tree | 7b6849d8aff9ab9c9fe4b8f6ac40113e69454de3 /tools/src/h5import/h5import.c | |
parent | fc61b7a9f3a38331809ebcb6247482943947cdb8 (diff) | |
download | hdf5-4c8a2f726a2eb47a937430e28994db8be1b87b00.zip hdf5-4c8a2f726a2eb47a937430e28994db8be1b87b00.tar.gz hdf5-4c8a2f726a2eb47a937430e28994db8be1b87b00.tar.bz2 |
Revert "using a different MACRO"
This reverts commit fc61b7a9f3a38331809ebcb6247482943947cdb8.
Diffstat (limited to 'tools/src/h5import/h5import.c')
-rw-r--r-- | tools/src/h5import/h5import.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/src/h5import/h5import.c b/tools/src/h5import/h5import.c index aa17878..2cd826b 100644 --- a/tools/src/h5import/h5import.c +++ b/tools/src/h5import/h5import.c @@ -4711,7 +4711,7 @@ uint16_t swap_uint16(uint16_t val) { uint16_t ret; - H5_CHECKED_ASSIGN(ret, uint16_t, (val << 8) | (val >> 8), int); + ASSIGN_TO_SMALLER_SIZE(ret, uint16_t, (val << 8) | (val >> 8), int); return ret; } @@ -4719,7 +4719,7 @@ int16_t swap_int16(int16_t val) { uint16_t ret; - H5_CHECKED_ASSIGN(ret, int16_t, (val << 8) | ((val >> 8) & 0xFF), int); + ASSIGN_TO_SMALLER_SIZE(ret, int16_t, (val << 8) | ((val >> 8) & 0xFF), int); return ret; } |