diff options
author | David Young <dyoung@hdfgroup.org> | 2019-11-12 20:02:35 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2019-11-12 20:02:35 (GMT) |
commit | 62afeec0eec60af5c93d38aaa43facdf931404dc (patch) | |
tree | fe74979c07c740e3b88f215eb53869c688a322e5 /src/H5Ocopy_ref.c | |
parent | 4981e837402428da4da061b8b815f2847cafe557 (diff) | |
parent | e08b69d3d2e572de4707b1fbf908111d29f40a1b (diff) | |
download | hdf5-62afeec0eec60af5c93d38aaa43facdf931404dc.zip hdf5-62afeec0eec60af5c93d38aaa43facdf931404dc.tar.gz hdf5-62afeec0eec60af5c93d38aaa43facdf931404dc.tar.bz2 |
Merge remote-tracking branch 'hdf5/develop' into add-werror-and-squash-some to
see if new warnings-as-errors have cropped up.
Diffstat (limited to 'src/H5Ocopy_ref.c')
-rw-r--r-- | src/H5Ocopy_ref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ocopy_ref.c b/src/H5Ocopy_ref.c index 3b18073..d8efeb5 100644 --- a/src/H5Ocopy_ref.c +++ b/src/H5Ocopy_ref.c @@ -333,7 +333,7 @@ H5O__copy_expand_ref_object2(H5O_loc_t *src_oloc, hid_t tid_src, H5T_t *dt_src, /* create reference datatype at the destinaton file */ if(NULL == (dt_dst = H5T_copy(dt_src, H5T_COPY_TRANSIENT))) HGOTO_ERROR(H5E_OHDR, H5E_CANTINIT, FAIL, "unable to copy") - if(H5T_set_loc(dt_dst, dst_oloc->file, H5T_LOC_DISK) < 0) { + if(H5T_set_loc(dt_dst, H5F_VOL_OBJ(dst_oloc->file), H5T_LOC_DISK) < 0) { (void)H5T_close_real(dt_dst); HGOTO_ERROR(H5E_OHDR, H5E_CANTINIT, FAIL, "cannot mark datatype on disk") } /* end if */ |