Index: minidump/minidump_module_writer_test.cc |
diff --git a/minidump/minidump_module_writer_test.cc b/minidump/minidump_module_writer_test.cc |
index 881f33c5b3ff13bfb6244dd4dc23c3dc5bb5fad2..dd104a5aa866fa6420772e9eb447e91ba5283cc2 100644 |
--- a/minidump/minidump_module_writer_test.cc |
+++ b/minidump/minidump_module_writer_test.cc |
@@ -20,6 +20,7 @@ |
#include <string.h> |
#include <sys/types.h> |
+#include "base/format_macros.h" |
#include "base/strings/stringprintf.h" |
#include "base/strings/utf_string_conversions.h" |
#include "gtest/gtest.h" |
@@ -729,7 +730,7 @@ TEST(MinidumpModuleWriter, InitializeFromSnapshot) { |
ASSERT_EQ(3u, module_list->NumberOfModules); |
for (size_t index = 0; index < module_list->NumberOfModules; ++index) { |
- SCOPED_TRACE(base::StringPrintf("index %zu", index)); |
+ SCOPED_TRACE(base::StringPrintf("index %" PRIuS, index)); |
ASSERT_NO_FATAL_FAILURE(ExpectModule(&expect_modules[index], |
&module_list->Modules[index], |
file_writer.string(), |