summaryrefslogtreecommitdiffstats
path: root/src/H5L.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/H5L.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/H5L.c')
-rw-r--r--src/H5L.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5L.c b/src/H5L.c
index 0d5bc02..47e29c0 100644
--- a/src/H5L.c
+++ b/src/H5L.c
@@ -1910,7 +1910,7 @@ H5L__link_cb(H5G_loc_t *grp_loc/*in*/, const char *name, const H5O_link_t H5_ATT
* copy and wipe out grp_loc)
*/
H5G_name_reset(&temp_path);
- if(H5O_loc_copy(&temp_oloc, grp_loc->oloc, H5_COPY_DEEP) < 0)
+ if(H5O_loc_copy_deep(&temp_oloc, grp_loc->oloc) < 0)
HGOTO_ERROR(H5E_LINK, H5E_CANTCOPY, FAIL, "unable to copy object location")
temp_loc.oloc = &temp_oloc;
@@ -2695,7 +2695,7 @@ H5L__move_dest_cb(H5G_loc_t *grp_loc/*in*/, const char *name,
* copy and wipe out grp_loc)
*/
H5G_name_reset(&temp_path);
- if(H5O_loc_copy(&temp_oloc, grp_loc->oloc, H5_COPY_DEEP) < 0)
+ if(H5O_loc_copy_deep(&temp_oloc, grp_loc->oloc) < 0)
HGOTO_ERROR(H5E_LINK, H5E_CANTCOPY, FAIL, "unable to copy object location")
temp_loc.oloc = &temp_oloc;