summaryrefslogtreecommitdiffstats
path: root/src/H5Aint.c
diff options
context:
space:
mode:
authorvchoi <vchoi@jelly.ad.hdfgroup.org>2020-07-21 21:01:38 (GMT)
committervchoi <vchoi@jelly.ad.hdfgroup.org>2020-07-21 21:01:38 (GMT)
commitbdc6edfc5ce07363faf79519389ef149a4094530 (patch)
tree47aba1fc6a4e538c3025c126d8da4e2587024c39 /src/H5Aint.c
parentccf4a92ec6c552400a1bb15c8d43f68a8592850f (diff)
downloadhdf5-bdc6edfc5ce07363faf79519389ef149a4094530.zip
hdf5-bdc6edfc5ce07363faf79519389ef149a4094530.tar.gz
hdf5-bdc6edfc5ce07363faf79519389ef149a4094530.tar.bz2
Supply the appropriate file pointer to H5T_patch_vlen_file() without H5F_VOL_OBJ from develop branch.
Diffstat (limited to 'src/H5Aint.c')
-rw-r--r--src/H5Aint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Aint.c b/src/H5Aint.c
index d388fb5..607bf2b 100644
--- a/src/H5Aint.c
+++ b/src/H5Aint.c
@@ -614,7 +614,7 @@ H5A__read(const H5A_t *attr, const H5T_t *mem_type, void *buf)
HDassert(buf);
/* Patch the top level file pointer in attr->shared->dt->shared->u.vlen.f if needed */
- if(H5T_patch_vlen_file(attr->shared->dt, H5F_VOL_OBJ(attr->oloc.file)) < 0 )
+ if(H5T_patch_vlen_file(attr->shared->dt, attr->oloc.file) < 0 )
HGOTO_ERROR(H5E_DATASET, H5E_CANTOPENOBJ, FAIL, "can't patch VL datatype file pointer")
/* Create buffer for data to store on disk */