summaryrefslogtreecommitdiffstats
path: root/src/H5Iint.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-11 00:01:46 (GMT)
committerGitHub <noreply@github.com>2023-06-11 00:01:46 (GMT)
commit03bd3e084059c280e8c616e567c84bea80c7744d (patch)
tree6eda5ac7f29f81dbc55f187d44bfd2a01bc4abe2 /src/H5Iint.c
parent4bda5eb33c86f0ba46419564723f622d4c081ee1 (diff)
downloadhdf5-03bd3e084059c280e8c616e567c84bea80c7744d.zip
hdf5-03bd3e084059c280e8c616e567c84bea80c7744d.tar.gz
hdf5-03bd3e084059c280e8c616e567c84bea80c7744d.tar.bz2
Fix misc warnings on Windows (#3094)
* Debug functionality where pointers were munged into longs (which are only 32-bits on Windows) * Fix a missing cast in Wstrcasestr_wrap()
Diffstat (limited to 'src/H5Iint.c')
-rw-r--r--src/H5Iint.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Iint.c b/src/H5Iint.c
index 5ffac4d..8a6b7ae 100644
--- a/src/H5Iint.c
+++ b/src/H5Iint.c
@@ -389,9 +389,9 @@ H5I__mark_node(void *_info, void H5_ATTR_UNUSED *key, void *_udata)
#ifdef H5I_DEBUG
if (H5DEBUG(I)) {
HDfprintf(H5DEBUG(I),
- "H5I: discard type=%d obj=0x%08lx "
+ "H5I: discard type=%d obj=%p "
"failure ignored\n",
- (int)udata->type_info->cls->type, (unsigned long)(info->object));
+ (int)udata->type_info->cls->type, info->object);
}
#endif /* H5I_DEBUG */
@@ -412,9 +412,9 @@ H5I__mark_node(void *_info, void H5_ATTR_UNUSED *key, void *_udata)
#ifdef H5I_DEBUG
if (H5DEBUG(I)) {
HDfprintf(H5DEBUG(I),
- "H5I: free type=%d obj=0x%08lx "
+ "H5I: free type=%d obj=%p "
"failure ignored\n",
- (int)udata->type_info->cls->type, (unsigned long)(info->object));
+ (int)udata->type_info->cls->type, info->object);
}
#endif /* H5I_DEBUG */