summaryrefslogtreecommitdiffstats
path: root/src/H5Oainfo.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-11-26 23:23:34 (GMT)
committerkmu <kmu@hdfgroup.org>2019-11-26 23:23:34 (GMT)
commit4c8a2f726a2eb47a937430e28994db8be1b87b00 (patch)
tree7b6849d8aff9ab9c9fe4b8f6ac40113e69454de3 /src/H5Oainfo.c
parentfc61b7a9f3a38331809ebcb6247482943947cdb8 (diff)
downloadhdf5-4c8a2f726a2eb47a937430e28994db8be1b87b00.zip
hdf5-4c8a2f726a2eb47a937430e28994db8be1b87b00.tar.gz
hdf5-4c8a2f726a2eb47a937430e28994db8be1b87b00.tar.bz2
Revert "using a different MACRO"
This reverts commit fc61b7a9f3a38331809ebcb6247482943947cdb8.
Diffstat (limited to 'src/H5Oainfo.c')
-rw-r--r--src/H5Oainfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Oainfo.c b/src/H5Oainfo.c
index a0730e8..d923a9f 100644
--- a/src/H5Oainfo.c
+++ b/src/H5Oainfo.c
@@ -194,7 +194,7 @@ H5O_ainfo_encode(H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, co
*p++ = H5O_AINFO_VERSION;
/* The flags for the attribute indices */
- H5_CHECKED_ASSIGN(flags, unsigned char, ainfo->track_corder ? H5O_AINFO_TRACK_CORDER : 0, int);
+ ASSIGN_TO_SMALLER_SIZE(flags, unsigned char, ainfo->track_corder ? H5O_AINFO_TRACK_CORDER : 0, int);
flags = (unsigned char)(flags | (ainfo->index_corder ? H5O_AINFO_INDEX_CORDER : 0));
*p++ = flags;