summaryrefslogtreecommitdiffstats
path: root/src/H5Dchunk.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2019-11-18 17:53:50 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2019-11-18 17:53:50 (GMT)
commit4064332a2dc45e591666ce1bff02001239009bb8 (patch)
tree746f10086a14edbcbc76990e64cef77113d53c70 /src/H5Dchunk.c
parent3593b3d201dd6eac4a71e67db02a54959d9a169e (diff)
downloadhdf5-4064332a2dc45e591666ce1bff02001239009bb8.zip
hdf5-4064332a2dc45e591666ce1bff02001239009bb8.tar.gz
hdf5-4064332a2dc45e591666ce1bff02001239009bb8.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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c
index d605ef9..381ca4a 100644
--- a/src/H5Dchunk.c
+++ b/src/H5Dchunk.c
@@ -2107,7 +2107,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 */
@@ -2120,7 +2120,6 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__create_chunk_mem_map_hyper() */
-
/*-------------------------------------------------------------------------
* Function: H5D__create_mem_map_1d