Index: base/trace_event.cc |
diff --git a/base/trace_event.cc b/base/trace_event.cc |
index ccac825b80400a5f4c950432d776a0d72bdf60a3..6c79825f866c2e8d94f917e015580aab5430f2c3 100644 |
--- a/base/trace_event.cc |
+++ b/base/trace_event.cc |
@@ -4,6 +4,7 @@ |
#include "base/trace_event.h" |
+#include "base/format_macros.h" |
#include "base/file_path.h" |
#include "base/file_util.h" |
#include "base/path_service.h" |
@@ -132,7 +133,7 @@ void TraceLog::Trace(const std::string& name, |
std::string msg = |
StringPrintf("{'pid':'0x%lx', 'tid':'0x%lx', 'type':'%s', " |
"'name':'%s', 'id':'0x%lx', 'extra':'%s', 'file':'%s', " |
- "'line_number':'%d', 'usec_begin': %I64d},\n", |
+ "'line_number':'%d', 'usec_begin': %" PRId64 "},\n", |
base::GetCurrentProcId(), |
PlatformThread::CurrentId(), |
kEventTypeNames[type], |