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/H5Gobj.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/H5Gobj.c')
-rw-r--r-- | src/H5Gobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Gobj.c b/src/H5Gobj.c index 15dbd79..1892182 100644 --- a/src/H5Gobj.c +++ b/src/H5Gobj.c @@ -738,7 +738,7 @@ H5G__obj_info(const H5O_loc_t *oloc, H5G_info_t *grp_info) H5G_loc_reset(&grp_loc); /* Deep copy (duplicate) of the group location object */ - if(H5O_loc_copy(&grp_oloc, (H5O_loc_t *)oloc, H5_COPY_DEEP) < 0) /* (Casting away const OK - QAK) */ + if(H5O_loc_copy_deep(&grp_oloc, oloc) < 0) HGOTO_ERROR(H5E_SYM, H5E_CANTCOPY, FAIL, "can't copy object location") /* Open the group */ |