[Lldb-commits] [lldb] r190548 - Change a printf() formatter to use %d for a uint32_t.
Jason Molenda
jmolenda at apple.com
Wed Sep 11 14:00:37 PDT 2013
Author: jmolenda
Date: Wed Sep 11 16:00:37 2013
New Revision: 190548
URL: http://llvm.org/viewvc/llvm-project?rev=190548&view=rev
Log:
Change a printf() formatter to use %d for a uint32_t.
Modified:
lldb/trunk/source/Core/Log.cpp
Modified: lldb/trunk/source/Core/Log.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Log.cpp?rev=190548&r1=190547&r2=190548&view=diff
==============================================================================
--- lldb/trunk/source/Core/Log.cpp (original)
+++ lldb/trunk/source/Core/Log.cpp Wed Sep 11 16:00:37 2013
@@ -100,7 +100,7 @@ Log::PrintfWithFlagsVarArg (uint32_t fla
if (m_options.Test (LLDB_LOG_OPTION_PREPEND_TIMESTAMP))
{
TimeValue now = TimeValue::Now();
- header.Printf ("%9ld.%6.6d ", now.seconds(), now.nanoseconds());
+ header.Printf ("%9d.%6.6d ", now.seconds(), now.nanoseconds());
}
// Add the process and thread if requested
More information about the lldb-commits
mailing list