summaryrefslogtreecommitdiffstats
path: root/src/H5CS.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-02-03 22:23:06 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-02-03 22:23:06 (GMT)
commita20b68b25796d94f1159156acf97322326565c93 (patch)
treeaa5e87ba08dc68f30ce5957879114c00389aaf1a /src/H5CS.c
parent65600cbd7229340d7f5ab86dd20b35ae2dabd1ad (diff)
downloadhdf5-a20b68b25796d94f1159156acf97322326565c93.zip
hdf5-a20b68b25796d94f1159156acf97322326565c93.tar.gz
hdf5-a20b68b25796d94f1159156acf97322326565c93.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);