diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-01-08 15:26:33 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-01-08 15:26:33 (GMT) |
commit | b3906ef2dae3d9179c3eb50939e1c666324ab52b (patch) | |
tree | a5ce7d585c9718cca0e946a9aaf8930ef8acdd85 | |
parent | 3932c8d54a682050bb6143a81d98dd1c60884747 (diff) | |
download | hdf5-b3906ef2dae3d9179c3eb50939e1c666324ab52b.zip hdf5-b3906ef2dae3d9179c3eb50939e1c666324ab52b.tar.gz hdf5-b3906ef2dae3d9179c3eb50939e1c666324ab52b.tar.bz2 |
[svn-r9781] Purpose:
Bug fix
Description:
Print the thread ID in a little more portable of a fashion, disallowing
negative thread IDs.
Platforms tested:
Linux 2.4 (heping) w/threadsafe
Too Minor to require h5committest
-rw-r--r-- | src/H5E.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -472,7 +472,7 @@ H5Eprint(FILE *stream) fprintf (stream, "thread 0."); } #elif defined(H5_HAVE_THREADSAFE) - fprintf (stream, "thread %d.", (int)pthread_self()); + fprintf (stream, "thread %lu.", (unsigned long)pthread_self()); #else fprintf (stream, "thread 0."); #endif |