Index: src/profiler/profile-generator.cc |
diff --git a/src/profiler/profile-generator.cc b/src/profiler/profile-generator.cc |
index abcd9e5d88852e6f414e7e5e5cf6ee80fc317df0..9f6fdc98c8c0696f6e7a3d0a1fec8e2ffc44333f 100644 |
--- a/src/profiler/profile-generator.cc |
+++ b/src/profiler/profile-generator.cc |
@@ -229,12 +229,13 @@ void ProfileNode::Print(int indent) { |
base::OS::Print("\n"); |
for (size_t i = 0; i < deopt_infos_.size(); ++i) { |
CpuProfileDeoptInfo& info = deopt_infos_[i]; |
- base::OS::Print( |
- "%*s;;; deopted at script_id: %d position: %d with reason '%s'.\n", |
- indent + 10, "", info.stack[0].script_id, info.stack[0].position, |
- info.deopt_reason); |
+ base::OS::Print("%*s;;; deopted at script_id: %d position: %" PRIuS |
+ " with reason '%s'.\n", |
+ indent + 10, "", info.stack[0].script_id, |
+ info.stack[0].position, info.deopt_reason); |
for (size_t index = 1; index < info.stack.size(); ++index) { |
- base::OS::Print("%*s;;; Inline point: script_id %d position: %d.\n", |
+ base::OS::Print("%*s;;; Inline point: script_id %d position: %" PRIuS |
+ ".\n", |
indent + 10, "", info.stack[index].script_id, |
info.stack[index].position); |
} |