diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2019-11-18 17:53:50 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2019-12-06 22:12:47 (GMT) |
commit | 975eea7940ef2628102222b411c3a8682d692d8c (patch) | |
tree | e1e93a7044e5c88678aa3647fe76f2a6d29f6baa /src/H5Dchunk.c | |
parent | 9f9336a5bd541752f472bab4c93da8de89f862cd (diff) | |
download | hdf5-975eea7940ef2628102222b411c3a8682d692d8c.zip hdf5-975eea7940ef2628102222b411c3a8682d692d8c.tar.gz hdf5-975eea7940ef2628102222b411c3a8682d692d8c.tar.bz2 |
Replace H5Sselect_adjust_u() and H5Shyper_adjust_s() with
H5Sselect_adjust. Implement "adjust_s" callback for all selection
types. Add range checking to H5Sselect_adjust().
Diffstat (limited to 'src/H5Dchunk.c')
-rw-r--r-- | src/H5Dchunk.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c index 4166457..46f356b 100644 --- a/src/H5Dchunk.c +++ b/src/H5Dchunk.c @@ -2116,7 +2116,7 @@ H5D__create_chunk_mem_map_hyper(const H5D_chunk_map_t *fm) } /* end for */ /* Adjust the selection */ - if(H5S_hyper_adjust_s(chunk_info->mspace, chunk_adjust) < 0) + if(H5S_SELECT_ADJUST_S(chunk_info->mspace, chunk_adjust) < 0) HGOTO_ERROR(H5E_DATASET, H5E_CANTSET, FAIL, "unable to adjust selection") } /* end else */ @@ -2129,7 +2129,6 @@ done: FUNC_LEAVE_NOAPI(ret_value) } /* end H5D__create_chunk_mem_map_hyper() */ - /*------------------------------------------------------------------------- * Function: H5D__create_mem_map_1d |