summaryrefslogtreecommitdiffstats
path: root/src/H5Dchunk.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-12-11 19:35:02 (GMT)
committerkmu <kmu@hdfgroup.org>2019-12-11 19:35:02 (GMT)
commit0a2bb11b248df6841daabca3970df5d8504adfc7 (patch)
tree5c431dcf2a63c852126b6d537f13b02c249d26fb /src/H5Dchunk.c
parent45a62b2d46523c15a7d2bc7f52db2b756b40df26 (diff)
downloadhdf5-0a2bb11b248df6841daabca3970df5d8504adfc7.zip
hdf5-0a2bb11b248df6841daabca3970df5d8504adfc7.tar.gz
hdf5-0a2bb11b248df6841daabca3970df5d8504adfc7.tar.bz2
address problems from comments
Diffstat (limited to 'src/H5Dchunk.c')
-rw-r--r--src/H5Dchunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c
index 66b6676..67f42f1 100644
--- a/src/H5Dchunk.c
+++ b/src/H5Dchunk.c
@@ -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")
- chunk_points = (hsize_t)H5S_GET_SELECT_NPOINTS(chunk_info->fspace);
+ chunk_points = H5S_GET_SELECT_NPOINTS(chunk_info->fspace);
if(H5S_select_hyperslab(chunk_info->mspace, H5S_SELECT_SET, mem_sel_start, NULL, &tmp_count, &chunk_points) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTSELECT, FAIL, "can't create chunk memory selection")