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-12-06 22:12:47 (GMT)
commit975eea7940ef2628102222b411c3a8682d692d8c (patch)
treee1e93a7044e5c88678aa3647fe76f2a6d29f6baa /src/H5Dchunk.c
parent9f9336a5bd541752f472bab4c93da8de89f862cd (diff)
downloadhdf5-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.c3
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