summaryrefslogtreecommitdiffstats
path: root/third_party/tcmalloc
diff options
context:
space:
mode:
authordmikurube@chromium.org <dmikurube@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-10 13:23:22 +0000
committerdmikurube@chromium.org <dmikurube@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-10 13:23:22 +0000
commit6e38b9c209106e80ab776d7d0ab92f2bc291de2d (patch)
tree626c6745824cb52deff6e27b891d597c8d1ff198 /third_party/tcmalloc
parentfeabd48eed619e08b5c7f5b9db41ed778ad07c89 (diff)
downloadchromium_src-6e38b9c209106e80ab776d7d0ab92f2bc291de2d.zip
chromium_src-6e38b9c209106e80ab776d7d0ab92f2bc291de2d.tar.gz
chromium_src-6e38b9c209106e80ab776d7d0ab92f2bc291de2d.tar.bz2
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
Diffstat (limited to 'third_party/tcmalloc')
-rw-r--r--third_party/tcmalloc/chromium/src/deep-heap-profile.cc4
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);
}