diff options
author | David Young <dyoung@hdfgroup.org> | 2020-02-03 22:23:06 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@koziol.gov> | 2020-05-06 20:37:42 (GMT) |
commit | 524af38af8877957308832dbe346aa84c7dea356 (patch) | |
tree | cc458a85aa3703e9caa8db0f5ce050615429f6ea /src/H5Eint.c | |
parent | bb3e1a5cafd0c35358e341836b758ea3b747f495 (diff) | |
download | hdf5-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/H5Eint.c')
-rw-r--r-- | src/H5Eint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Eint.c b/src/H5Eint.c index aba912e..7e144c8 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 */ |