diff options
-rw-r--r-- | src/H5E.c | 2 | ||||
-rw-r--r-- | test/testerror.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 diff --git a/test/testerror.sh b/test/testerror.sh index c06df9e..fbf9f51 100644 --- a/test/testerror.sh +++ b/test/testerror.sh @@ -55,7 +55,7 @@ TEST() { shift # Run test. - TESTING $1 + TESTING $TEST_ERR ( echo "#############################" echo "Expected output for $TEST_ERR" |