summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-02-16 19:22:52 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-02-16 19:22:52 +0000
commitf8cd4889ec9993b049e6220e99fdabbe5c66824a (patch)
tree16564cc1141010ca04fbefcf610848414accf68c
parent28bf91f78e6f1489cdb2c0131376dfe48b520a05 (diff)
downloadbcm5719-llvm-f8cd4889ec9993b049e6220e99fdabbe5c66824a.tar.gz
bcm5719-llvm-f8cd4889ec9993b049e6220e99fdabbe5c66824a.zip
Fix clang++ warning building the executable for testing.
llvm-svn: 125682
-rw-r--r--lldb/test/threads/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/threads/main.cpp b/lldb/test/threads/main.cpp
index 9216f7ec01c..0c5fd45388f 100644
--- a/lldb/test/threads/main.cpp
+++ b/lldb/test/threads/main.cpp
@@ -61,7 +61,7 @@ thread_func (void *arg)
{
// 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.
}
OpenPOWER on IntegriCloud