Index: chrome/common/ipc_message_utils.h |
diff --git a/chrome/common/ipc_message_utils.h b/chrome/common/ipc_message_utils.h |
index 2ae2ab5cdbd4b244250f3720befd71cc9585c063..bcc849a869d1a43740d1d732d033d9a2424d2f81 100644 |
--- a/chrome/common/ipc_message_utils.h |
+++ b/chrome/common/ipc_message_utils.h |
@@ -10,8 +10,9 @@ |
#include <map> |
#include "base/file_path.h" |
-#include "base/string_util.h" |
+#include "base/format_macros.h" |
#include "base/string16.h" |
+#include "base/string_util.h" |
#include "base/tuple.h" |
#if defined(OS_POSIX) |
#include "chrome/common/file_descriptor_set_posix.h" |
@@ -218,7 +219,7 @@ struct ParamTraits<int64> { |
return m->ReadInt64(iter, r); |
} |
static void Log(const param_type& p, std::wstring* l) { |
- l->append(StringPrintf(L"%I64d", p)); |
+ l->append(StringPrintf(L"%" WidePRId64, p)); |
} |
}; |
@@ -232,7 +233,7 @@ struct ParamTraits<uint64> { |
return m->ReadInt64(iter, reinterpret_cast<int64*>(r)); |
} |
static void Log(const param_type& p, std::wstring* l) { |
- l->append(StringPrintf(L"%I64u", p)); |
+ l->append(StringPrintf(L"%" WidePRId64, p)); |
} |
}; |