summaryrefslogtreecommitdiffstats
path: root/src/H5Tnative.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-01-29 20:11:10 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-01-29 20:11:10 (GMT)
commit4a4755d314542d951bf22ad49911ff053a5b67ec (patch)
treefd18f3faffd12ffe05914614186e8f2d8ad75b79 /src/H5Tnative.c
parentf554a4fb5465cfd539ad7bd0310adddf88db6708 (diff)
downloadhdf5-4a4755d314542d951bf22ad49911ff053a5b67ec.zip
hdf5-4a4755d314542d951bf22ad49911ff053a5b67ec.tar.gz
hdf5-4a4755d314542d951bf22ad49911ff053a5b67ec.tar.bz2
H5T_copy() constification plus Quincey's contributions.
Diffstat (limited to 'src/H5Tnative.c')
-rw-r--r--src/H5Tnative.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tnative.c b/src/H5Tnative.c
index 1d203c7..178d1a0 100644
--- a/src/H5Tnative.c
+++ b/src/H5Tnative.c
@@ -272,7 +272,7 @@ H5T__get_native_type(H5T_t *dtype, H5T_direction_t direction, size_t *struct_ali
/* Construct child compound type and retrieve a list of their IDs, offsets, total size, and alignment for compound type. */
for(u = 0; u < nmemb; u++) {
- if(NULL == (memb_type = H5T_get_member_type(dtype, u, H5T_COPY_TRANSIENT)))
+ if(NULL == (memb_type = H5T_get_member_type(dtype, u)))
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "member type retrieval failed")
if(NULL == (comp_mname[u] = H5T__get_member_name(dtype, u)))