diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2017-02-28 05:45:55 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2017-02-28 05:45:55 (GMT) |
commit | 5db402afbb6be6a4219ccd517d0462c5c6cc26f7 (patch) | |
tree | 9315120be0d040146e0dcec8ced3a25672666c88 /src/H5Cdbg.c | |
parent | e5fb4191de1129f58cc7b9b8ee67f4cec1488f39 (diff) | |
download | hdf5-5db402afbb6be6a4219ccd517d0462c5c6cc26f7.zip hdf5-5db402afbb6be6a4219ccd517d0462c5c6cc26f7.tar.gz hdf5-5db402afbb6be6a4219ccd517d0462c5c6cc26f7.tar.bz2 |
Corrected version of 4b5e05c084f93c35dae946c2c9e814d565a613b0:
Fix some more signed -> unsigned value issues with cache data structures,
also misc. style cleanups. All to align w/incoming page_buffering changes.
Diffstat (limited to 'src/H5Cdbg.c')
-rw-r--r-- | src/H5Cdbg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Cdbg.c b/src/H5Cdbg.c index f926c71..205567f 100644 --- a/src/H5Cdbg.c +++ b/src/H5Cdbg.c @@ -211,7 +211,7 @@ H5C_dump_cache_skip_list(H5C_t * cache_ptr, char * calling_fcn) HDassert(calling_fcn != NULL); HDfprintf(stdout, "\n\nDumping metadata cache skip list from %s.\n", calling_fcn); - HDfprintf(stdout, " slist len = %d.\n", cache_ptr->slist_len); + HDfprintf(stdout, " slist len = %u.\n", cache_ptr->slist_len); HDfprintf(stdout, " slist size = %lld.\n", (long long)(cache_ptr->slist_size)); if(cache_ptr->slist_len > 0) { @@ -651,11 +651,11 @@ H5C_stats(H5C_t * cache_ptr, (long long)(cache_ptr->index_scan_restarts)); HDfprintf(stdout, - "%s cache image creations/loads/size = %d / %d / %lld\n", + "%s cache image creations/loads/size = %d / %d / %Hu\n", cache_ptr->prefix, cache_ptr->images_created, cache_ptr->images_loaded, - (long long)cache_ptr->last_image_size); + cache_ptr->last_image_size); HDfprintf(stdout, "%s prefetches / dirty prefetches = %lld / %lld\n", @@ -905,7 +905,7 @@ H5C_stats__reset(H5C_t H5_ATTR_UNUSED * cache_ptr) cache_ptr->images_created = 0; cache_ptr->images_loaded = 0; - cache_ptr->last_image_size = (size_t)0; + cache_ptr->last_image_size = (hsize_t)0; cache_ptr->prefetches = 0; cache_ptr->dirty_prefetches = 0; |