summaryrefslogtreecommitdiffstats
path: root/src/H5Oint.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-11-25 21:17:55 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:23 (GMT)
commit9a3a13cacb2c519a5c4deab817606a743e9ece0d (patch)
tree301966796df9631e883d1fe728f5e168ca96a353 /src/H5Oint.c
parentbb53a566e8a45490b3179290774c3f1450d7d8dd (diff)
downloadhdf5-9a3a13cacb2c519a5c4deab817606a743e9ece0d.zip
hdf5-9a3a13cacb2c519a5c4deab817606a743e9ece0d.tar.gz
hdf5-9a3a13cacb2c519a5c4deab817606a743e9ece0d.tar.bz2
using a different MACRO
Diffstat (limited to 'src/H5Oint.c')
-rw-r--r--src/H5Oint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Oint.c b/src/H5Oint.c
index 3128761..46d012c 100644
--- a/src/H5Oint.c
+++ b/src/H5Oint.c
@@ -240,7 +240,7 @@ H5O_set_version(H5F_t *f, H5O_t *oh, uint8_t oh_flags, hbool_t store_msg_crt_idx
version = H5O_VERSION_1;
/* Upgrade to the version indicated by the file's low bound if higher */
- ASSIGN_TO_SMALLER_SIZE(version, uint8_t, MAX(version, (uint8_t)H5O_obj_ver_bounds[H5F_LOW_BOUND(f)]), int);
+ H5_CHECKED_ASSIGN(version, uint8_t, MAX(version, (uint8_t)H5O_obj_ver_bounds[H5F_LOW_BOUND(f)]), int);
/* Version bounds check */
if(version > H5O_obj_ver_bounds[H5F_HIGH_BOUND(f)])