diff options
author | David Young <dyoung@hdfgroup.org> | 2020-01-29 20:11:10 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-01-29 20:11:10 (GMT) |
commit | 4a4755d314542d951bf22ad49911ff053a5b67ec (patch) | |
tree | fd18f3faffd12ffe05914614186e8f2d8ad75b79 /src/H5L.c | |
parent | f554a4fb5465cfd539ad7bd0310adddf88db6708 (diff) | |
download | hdf5-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |