summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5E.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5E.c b/src/H5E.c
index d0c5ea7..8811693 100644
--- a/src/H5E.c
+++ b/src/H5E.c
@@ -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