Fix clang++ warning building the executable for testing.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125682 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/threads/main.cpp b/test/threads/main.cpp
index 9216f7e..0c5fd45 100644
--- a/test/threads/main.cpp
+++ b/test/threads/main.cpp
@@ -61,7 +61,7 @@
{
// random micro second sleep from zero to 3 seconds
int usec = ::rand() % 3000000;
- printf ("%s (thread = %u) doing a usleep (%li)...\n", __FUNCTION__, thread_index, usec);
+ printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec);
::usleep (usec);
printf ("%s (thread = %u) after usleep ...\n", __FUNCTION__, thread_index); // Set break point at this line.
}