summaryrefslogtreecommitdiffstats
path: root/src/H5Znbit.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-05-14 09:46:12 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-05-14 09:46:12 (GMT)
commit6266d0fe88bbb6c823bda15295e583643b7204bf (patch)
treee1b1f3e6ee65ab3b05a444c755193995f716564a /src/H5Znbit.c
parent776628b873facb34616ae63d16a2b79ccd5bd283 (diff)
downloadhdf5-6266d0fe88bbb6c823bda15295e583643b7204bf.zip
hdf5-6266d0fe88bbb6c823bda15295e583643b7204bf.tar.gz
hdf5-6266d0fe88bbb6c823bda15295e583643b7204bf.tar.bz2
Manual merge of H5T_copy constification (avoids VOL changes and
messy diff).
Diffstat (limited to 'src/H5Znbit.c')
-rw-r--r--src/H5Znbit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Znbit.c b/src/H5Znbit.c
index fe0041c..2f79725 100644
--- a/src/H5Znbit.c
+++ b/src/H5Znbit.c
@@ -338,7 +338,7 @@ H5Z_calc_parms_compound(const H5T_t *type, size_t *cd_values_actual_nparms)
H5T_class_t dtype_member_class; /* Compound datatype's member datatype's class */
/* Get member datatype */
- if(NULL == (dtype_member = H5T_get_member_type(type, u, H5T_COPY_TRANSIENT)))
+ if(NULL == (dtype_member = H5T_get_member_type(type, u)))
HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, FAIL, "bad member datatype")
/* Get member datatype's class */
@@ -695,7 +695,7 @@ H5Z_set_parms_compound(const H5T_t *type, unsigned *cd_values_index,
/* For each member, set parameters */
for(u = 0; u < nmembers; u++) {
/* Get member datatype */
- if(NULL == (dtype_member = H5T_get_member_type(type, u, H5T_COPY_TRANSIENT)))
+ if(NULL == (dtype_member = H5T_get_member_type(type, u)))
HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, FAIL, "bad member datatype")
/* Get member datatype's class */