summaryrefslogtreecommitdiffstats
path: root/src/H5Oginfo.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-12-06 20:12:57 (GMT)
committerkmu <kmu@hdfgroup.org>2019-12-06 20:12:57 (GMT)
commit189935ff260cae6fb4e061fa68bd7b93e219c635 (patch)
tree835e1ace051ca3cd146ee86b62b884a96fc04721 /src/H5Oginfo.c
parent132fa33dad6badacec90e80768d8dc8e8aa33172 (diff)
downloadhdf5-189935ff260cae6fb4e061fa68bd7b93e219c635.zip
hdf5-189935ff260cae6fb4e061fa68bd7b93e219c635.tar.gz
hdf5-189935ff260cae6fb4e061fa68bd7b93e219c635.tar.bz2
remove unnecessary check macro
Diffstat (limited to 'src/H5Oginfo.c')
-rw-r--r--src/H5Oginfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Oginfo.c b/src/H5Oginfo.c
index a461613..237bf6c 100644
--- a/src/H5Oginfo.c
+++ b/src/H5Oginfo.c
@@ -183,7 +183,7 @@ H5O_ginfo_encode(H5F_t H5_ATTR_UNUSED *f, hbool_t H5_ATTR_UNUSED disable_shared,
*p++ = H5O_GINFO_VERSION;
/* The flags for the group info */
- H5_CHECKED_ASSIGN(flags, uint8_t, flags | (ginfo->store_est_entry_info ? H5O_GINFO_STORE_EST_ENTRY_INFO : 0), int);
+ flags = (unsigned char)(flags | (ginfo->store_est_entry_info ? H5O_GINFO_STORE_EST_ENTRY_INFO : 0));
*p++ = flags;
/* Store the max. # of links to store compactly & the min. # of links to store densely */