From 6e38b9c209106e80ab776d7d0ab92f2bc291de2d Mon Sep 17 00:00:00 2001 From: "dmikurube@chromium.org" Date: Fri, 10 May 2013 13:23:22 +0000 Subject: Use PRIx64 instead of PRIxPTR for uint64 in deep-heap-profile. BUG=162208 R=jyasskin@chromium.org, willchan@chromium.org Review URL: https://codereview.chromium.org/14859006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199471 0039d316-1c4b-4281-b951-d872f2087c98 --- third_party/tcmalloc/chromium/src/deep-heap-profile.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'third_party/tcmalloc') 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); } -- cgit v1.1