diff options
Diffstat (limited to 'third_party/tcmalloc')
-rw-r--r-- | third_party/tcmalloc/chromium/src/deep-heap-profile.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/tcmalloc/chromium/src/deep-heap-profile.cc b/third_party/tcmalloc/chromium/src/deep-heap-profile.cc index a38d645..2990eee 100644 --- a/third_party/tcmalloc/chromium/src/deep-heap-profile.cc +++ b/third_party/tcmalloc/chromium/src/deep-heap-profile.cc @@ -404,9 +404,9 @@ bool DeepHeapProfile::TextBuffer::AppendInt64(int64 v, int d) { bool DeepHeapProfile::TextBuffer::AppendPtr(uint64 v, int d) { int appended; if (d == 0) - appended = snprintf(buffer_ + cursor_, size_ - cursor_, "%"PRIxPTR, v); + appended = snprintf(buffer_ + cursor_, size_ - cursor_, "%"PRIx64, v); else - appended = snprintf(buffer_ + cursor_, size_ - cursor_, "%0*"PRIxPTR, d, v); + appended = snprintf(buffer_ + cursor_, size_ - cursor_, "%0*"PRIx64, d, v); return ForwardCursor(appended); } |