diff options
author | David Young <dyoung@hdfgroup.org> | 2020-04-24 23:49:16 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-07-07 15:49:55 (GMT) |
commit | ca8a73923f8977bf04c5ee590a09ebda22938bdd (patch) | |
tree | 9ac93cdfc3685bdb3268229ad3e21dfae33895e9 /src | |
parent | 307cb5da4863b3d29fc5d1b97bc01034fc5161dd (diff) | |
download | hdf5-ca8a73923f8977bf04c5ee590a09ebda22938bdd.zip hdf5-ca8a73923f8977bf04c5ee590a09ebda22938bdd.tar.gz hdf5-ca8a73923f8977bf04c5ee590a09ebda22938bdd.tar.bz2 |
Fix fprintf arguments: "%p" expects a `void *` argument.
Diffstat (limited to 'src')
-rw-r--r-- | src/H5trace.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5trace.c b/src/H5trace.c index ba8ba94..f61a996 100644 --- a/src/H5trace.c +++ b/src/H5trace.c @@ -824,7 +824,7 @@ H5_trace(const double *returning, const char *func, const char *type, ...) else { H5E_error2_t *error = HDva_arg(ap, H5E_error2_t *); - HDfprintf(out, "0x%p", error); + HDfprintf(out, "0x%p", (void *)error); } /* end else */ break; @@ -1156,7 +1156,7 @@ H5_trace(const double *returning, const char *func, const char *type, ...) else { H5G_stat_t *statbuf = HDva_arg(ap, H5G_stat_t*); - HDfprintf(out, "0x%p", statbuf); + HDfprintf(out, "0x%p", (void *)statbuf); } break; #endif /* H5_NO_DEPRECATED_SYMBOLS */ @@ -3619,7 +3619,7 @@ H5_trace(const double *returning, const char *func, const char *type, ...) else { H5Z_class2_t *filter = HDva_arg(ap, H5Z_class2_t*); - HDfprintf(out, "0x%p", filter); + HDfprintf(out, "0x%p", (void *)filter); } /* end else */ break; |