summaryrefslogtreecommitdiffstats
path: root/src/H5CS.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-02-03 22:23:06 (GMT)
committerQuincey Koziol <koziol@koziol.gov>2020-05-06 20:37:42 (GMT)
commit524af38af8877957308832dbe346aa84c7dea356 (patch)
treecc458a85aa3703e9caa8db0f5ce050615429f6ea /src/H5CS.c
parentbb3e1a5cafd0c35358e341836b758ea3b747f495 (diff)
downloadhdf5-524af38af8877957308832dbe346aa84c7dea356.zip
hdf5-524af38af8877957308832dbe346aa84c7dea356.tar.gz
hdf5-524af38af8877957308832dbe346aa84c7dea356.tar.bz2
Change thread IDs to uint64_t from unsigned long, per Quincey's suggestion.
Fix a typo in the H5TS_thread_init() comment and reword some ID properties.
Diffstat (limited to 'src/H5CS.c')
-rw-r--r--src/H5CS.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5CS.c b/src/H5CS.c
index f429d98..3fccce4 100644
--- a/src/H5CS.c
+++ b/src/H5CS.c
@@ -145,7 +145,7 @@ H5CS_print_stack(const H5CS_t *fstack, FILE *stream)
HDfprintf(stream, "HDF5-DIAG: Function stack from %s ", H5_lib_vers_info_g);
/* try show the process or thread id in multiple processes cases*/
- HDfprintf(stream, "thread %lu.", H5TS_thread_id());
+ HDfprintf(stream, "thread %" PRIu64 ".", H5TS_thread_id());
if(fstack && fstack->nused>0)
HDfprintf(stream, " Back trace follows.");
HDfputc('\n', stream);