diff options
author | kmu <kmu@hdfgroup.org> | 2019-12-11 19:35:02 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:25 (GMT) |
commit | fd374fb23436970a04b37d4dde868fe428fcccaa (patch) | |
tree | 79276dfaaa9fb030c7b8066d53a1cf4db8a2e103 /src/H5Dchunk.c | |
parent | 95e509db46c7007561a38fcfe76c38d91ea79e49 (diff) | |
download | hdf5-fd374fb23436970a04b37d4dde868fe428fcccaa.zip hdf5-fd374fb23436970a04b37d4dde868fe428fcccaa.tar.gz hdf5-fd374fb23436970a04b37d4dde868fe428fcccaa.tar.bz2 |
address problems from comments
Diffstat (limited to 'src/H5Dchunk.c')
-rw-r--r-- | src/H5Dchunk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c index 0fdf1e7..f90a81b 100644 --- a/src/H5Dchunk.c +++ b/src/H5Dchunk.c @@ -2178,7 +2178,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") |