summaryrefslogtreecommitdiffstats
path: root/src/H5E.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5E.c')
-rw-r--r--src/H5E.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5E.c b/src/H5E.c
index 47c86df..eafa2a4 100644
--- a/src/H5E.c
+++ b/src/H5E.c
@@ -2193,7 +2193,7 @@ H5E_walk_cb(unsigned n, const H5E_error_t *err_desc, void *client_data)
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