diff options
author | kmu <kmu@hdfgroup.org> | 2019-12-04 02:52:55 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2019-12-04 02:52:55 (GMT) |
commit | 132fa33dad6badacec90e80768d8dc8e8aa33172 (patch) | |
tree | b296c329b62c9152fce3ca228c121a8cdf55d0c8 /src/H5Dchunk.c | |
parent | ea0759d047dc6421da90375a9c27f7cde0a8e117 (diff) | |
download | hdf5-132fa33dad6badacec90e80768d8dc8e8aa33172.zip hdf5-132fa33dad6badacec90e80768d8dc8e8aa33172.tar.gz hdf5-132fa33dad6badacec90e80768d8dc8e8aa33172.tar.bz2 |
fix intel compile warnings
Diffstat (limited to 'src/H5Dchunk.c')
-rw-r--r-- | src/H5Dchunk.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c index 4d139c7..62303bb 100644 --- a/src/H5Dchunk.c +++ b/src/H5Dchunk.c @@ -2193,7 +2193,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 = H5S_GET_SELECT_NPOINTS(chunk_info->fspace); + schunk_points = (hsize_t)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") @@ -5670,7 +5670,7 @@ H5D__chunk_addrmap_cb(const H5D_chunk_rec_t *chunk_rec, void *_udata) hsize_t chunk_index; int ret_value = H5_ITER_CONT; /* Return value */ - FUNC_ENTER_STATIC + FUNC_ENTER_STATIC_NOERR /* Compute the index for this chunk */ chunk_index = H5VM_array_offset_pre(rank, udata->common.layout->down_chunks, chunk_rec->scaled); @@ -5678,7 +5678,6 @@ H5D__chunk_addrmap_cb(const H5D_chunk_rec_t *chunk_rec, void *_udata) /* Set it in the userdata to return */ udata->chunk_addr[chunk_index] = chunk_rec->chunk_addr; -done: FUNC_LEAVE_NOAPI(ret_value) } /* H5D__chunk_addrmap_cb() */ |