summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/stats.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/disk_cache/stats.cc')
-rw-r--r--net/disk_cache/stats.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/disk_cache/stats.cc b/net/disk_cache/stats.cc
index 702b2a36..a351a6c 100644
--- a/net/disk_cache/stats.cc
+++ b/net/disk_cache/stats.cc
@@ -4,6 +4,7 @@
#include "net/disk_cache/stats.h"
+#include "base/format_macros.h"
#include "base/logging.h"
#include "base/string_util.h"
#include "net/disk_cache/backend_impl.h"
@@ -263,7 +264,7 @@ void Stats::GetItems(StatsItems* items) {
for (int i = MIN_COUNTER + 1; i < MAX_COUNTER; i++) {
item.first = kCounterNames[i];
- item.second = StringPrintf("0x%I64x", counters_[i]);
+ item.second = StringPrintf("0x%" PRIx64, counters_[i]);
items->push_back(item);
}
}