diff options
author | kmu <kmu@hdfgroup.org> | 2019-12-10 18:10:49 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:25 (GMT) |
commit | 9281d24a5bd5cb3ee3cde77a7d1e5e69ef05aa62 (patch) | |
tree | eaeaa38eb35c7896112187107bac053d241e078e | |
parent | 740d491ef3bae29a326dadd2d1a4988d7c0f8da8 (diff) | |
download | hdf5-9281d24a5bd5cb3ee3cde77a7d1e5e69ef05aa62.zip hdf5-9281d24a5bd5cb3ee3cde77a7d1e5e69ef05aa62.tar.gz hdf5-9281d24a5bd5cb3ee3cde77a7d1e5e69ef05aa62.tar.bz2 |
change according to previous comments
-rw-r--r-- | src/H5C.c | 3 | ||||
-rw-r--r-- | src/H5Dchunk.c | 4 |
2 files changed, 3 insertions, 4 deletions
@@ -4440,7 +4440,7 @@ H5C__unpin_entry_real(H5C_t *cache_ptr, H5C_cache_entry_t *entry_ptr, { herr_t ret_value = SUCCEED; /* Return value */ - FUNC_ENTER_STATIC + FUNC_ENTER_STATIC_NOERR /* Sanity checking */ HDassert(cache_ptr); @@ -4457,7 +4457,6 @@ H5C__unpin_entry_real(H5C_t *cache_ptr, H5C_cache_entry_t *entry_ptr, /* Update the stats for an unpin operation */ H5C__UPDATE_STATS_FOR_UNPIN(cache_ptr, entry_ptr) -done: FUNC_LEAVE_NOAPI(ret_value) } /* H5C__unpin_entry_real() */ diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c index 6bfc397..ff6bdab 100644 --- a/src/H5Dchunk.c +++ b/src/H5Dchunk.c @@ -2167,7 +2167,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 */ @@ -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") - 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") |