summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-11-13 17:22:09 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2019-11-13 17:22:09 (GMT)
commitc538919509780b7729354124eeb21ceaa321dbda (patch)
treebaabbb0c8ef5d5775f7a48288882d4d6787f2c43
parent62afeec0eec60af5c93d38aaa43facdf931404dc (diff)
downloadhdf5-c538919509780b7729354124eeb21ceaa321dbda.zip
hdf5-c538919509780b7729354124eeb21ceaa321dbda.tar.gz
hdf5-c538919509780b7729354124eeb21ceaa321dbda.tar.bz2
Format a pointer with %p to avoid a gripe about casting a pointer to an
integer.
-rw-r--r--src/H5Cdbg.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/H5Cdbg.c b/src/H5Cdbg.c
index 1f55e86..cb1d0e2 100644
--- a/src/H5Cdbg.c
+++ b/src/H5Cdbg.c
@@ -319,9 +319,8 @@ H5C_dump_cache_skip_list(H5C_t * cache_ptr, char * calling_fcn)
(int)(entry_ptr->is_dirty),
entry_ptr->type->name);
- HDfprintf(stdout, " node_ptr = 0x%llx, item = %p\n",
- (unsigned long long)node_ptr,
- H5SL_item(node_ptr));
+ HDfprintf(stdout, " node_ptr = %p, item = %p\n",
+ node_ptr, H5SL_item(node_ptr));
/* increment node_ptr before we delete its target */
node_ptr = H5SL_next(node_ptr);