summaryrefslogtreecommitdiffstats
path: root/src/H5Eint.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/H5Eint.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/H5Eint.c')
-rw-r--r--src/H5Eint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Eint.c b/src/H5Eint.c
index 1cca2eb..ce6675e 100644
--- a/src/H5Eint.c
+++ b/src/H5Eint.c
@@ -260,7 +260,7 @@ H5E__walk1_cb(int n, H5E_error1_t *err_desc, void *client_data)
HDfprintf(stream, "thread 0");
} /* end block */
#else
- HDfprintf(stream, "thread %lu", H5TS_thread_id());
+ HDfprintf(stream, "thread %" PRIu64, H5TS_thread_id());
#endif
HDfprintf(stream, ":\n");
} /* end if */
@@ -390,7 +390,7 @@ H5E__walk2_cb(unsigned n, const H5E_error2_t *err_desc, void *client_data)
HDfprintf(stream, "thread 0");
} /* end block */
#else
- HDfprintf(stream, "thread %lu", H5TS_thread_id());
+ HDfprintf(stream, "thread %" PRIu64, H5TS_thread_id());
#endif
HDfprintf(stream, ":\n");
} /* end if */