summaryrefslogtreecommitdiffstats
path: root/src/H5Dchunk.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-12-10 18:10:49 (GMT)
committerkmu <kmu@hdfgroup.org>2019-12-10 18:10:49 (GMT)
commita00d71b2e26c06a299ac92552b7887ca017fd4d3 (patch)
treec77c76dd367cce1cd90306daa8b3f1449c400715 /src/H5Dchunk.c
parent62badd9ebcda1d5c723750cccb09204836df9dd7 (diff)
downloadhdf5-a00d71b2e26c06a299ac92552b7887ca017fd4d3.zip
hdf5-a00d71b2e26c06a299ac92552b7887ca017fd4d3.tar.gz
hdf5-a00d71b2e26c06a299ac92552b7887ca017fd4d3.tar.bz2
change according to previous comments
Diffstat (limited to 'src/H5Dchunk.c')
-rw-r--r--src/H5Dchunk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c
index 2f95024..db234bb 100644
--- a/src/H5Dchunk.c
+++ b/src/H5Dchunk.c
@@ -2179,7 +2179,7 @@ H5D__create_chunk_mem_map_1d(const H5D_chunk_map_t *fm)
/* Iterate over each chunk in the chunk list */
curr_node = H5SL_first(fm->sel_chunks);
while(curr_node) {
- hssize_t schunk_points; /* Number of elements in chunk selection */
+ hsize_t schunk_points; /* Number of elements in chunk selection */
hsize_t tmp_count = 1;
/* Get pointer to chunk's information */
@@ -2190,7 +2190,7 @@ H5D__create_chunk_mem_map_1d(const H5D_chunk_map_t *fm)
if((chunk_info->mspace = H5S_copy(fm->mem_space, TRUE, FALSE)) == NULL)
HGOTO_ERROR(H5E_DATASPACE, H5E_CANTCOPY, FAIL, "unable to copy memory space")
- schunk_points = (hsize_t)H5S_GET_SELECT_NPOINTS(chunk_info->fspace);
+ schunk_points = H5S_GET_SELECT_NPOINTS(chunk_info->fspace);
if(H5S_select_hyperslab(chunk_info->mspace, H5S_SELECT_SET, mem_sel_start, NULL, &tmp_count, &schunk_points) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTSELECT, FAIL, "can't create chunk memory selection")