Fix clang++ warning building the executable for testing.

llvm-svn: 125682
This commit is contained in:
Johnny Chen 2011-02-16 19:22:52 +00:00
parent 28bf91f78e
commit f8cd4889ec
1 changed files with 1 additions and 1 deletions

View File

@ -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.
}