Index: minidump/minidump_memory_writer_test.cc |
diff --git a/minidump/minidump_memory_writer_test.cc b/minidump/minidump_memory_writer_test.cc |
index 1aee35dee65247f85e08ab72874a9e6178107a35..e77a0648a95e3ae087703099124ea6487d45fb48 100644 |
--- a/minidump/minidump_memory_writer_test.cc |
+++ b/minidump/minidump_memory_writer_test.cc |
@@ -19,6 +19,7 @@ |
#include <stdint.h> |
#include "base/basictypes.h" |
+#include "base/format_macros.h" |
#include "base/strings/stringprintf.h" |
#include "gtest/gtest.h" |
#include "minidump/minidump_extensions.h" |
@@ -347,7 +348,7 @@ TEST(MinidumpMemoryWriter, AddFromSnapshot) { |
ASSERT_EQ(3u, memory_list->NumberOfMemoryRanges); |
for (size_t index = 0; index < memory_list->NumberOfMemoryRanges; ++index) { |
- SCOPED_TRACE(base::StringPrintf("index %zu", index)); |
+ SCOPED_TRACE(base::StringPrintf("index %" PRIuS, index)); |
ExpectMinidumpMemoryDescriptorAndContents( |
&expect_memory_descriptors[index], |
&memory_list->MemoryRanges[index], |