[Lldb-commits] [lldb] r125682 - /lldb/trunk/test/threads/main.cpp

Johnny Chen johnny.chen at apple.com
Wed Feb 16 11:22:52 PST 2011


Author: johnny
Date: Wed Feb 16 13:22:52 2011
New Revision: 125682

URL: http://llvm.org/viewvc/llvm-project?rev=125682&view=rev
Log:
Fix clang++ warning building the executable for testing.

Modified:
    lldb/trunk/test/threads/main.cpp

Modified: lldb/trunk/test/threads/main.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/threads/main.cpp?rev=125682&r1=125681&r2=125682&view=diff
==============================================================================
--- lldb/trunk/test/threads/main.cpp (original)
+++ lldb/trunk/test/threads/main.cpp Wed Feb 16 13:22:52 2011
@@ -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.
     }





More information about the lldb-commits mailing list