summaryrefslogtreecommitdiff
path: root/runtime/jdwp/jdwp_request.cc
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2014-01-23 20:11:40 -0800
committer Ian Rogers <irogers@google.com> 2014-01-24 09:03:16 -0800
commitd9e4e0c8606f8b87e0a48aab68125dbee543bf88 (patch)
treec80e6e9146fde1c4b56f71d4eee9fa363692ab58 /runtime/jdwp/jdwp_request.cc
parentc0df897d264d16a991bf092f7b9431ce5a4f1f0b (diff)
64bit friendly printf modifiers in JDWP.
Change-Id: I105da6393b31f5901036216fbfe19a71c46cf152
Diffstat (limited to 'runtime/jdwp/jdwp_request.cc')
-rw-r--r--runtime/jdwp/jdwp_request.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/jdwp/jdwp_request.cc b/runtime/jdwp/jdwp_request.cc
index a9dd1e1790..7b15d6de11 100644
--- a/runtime/jdwp/jdwp_request.cc
+++ b/runtime/jdwp/jdwp_request.cc
@@ -16,6 +16,8 @@
#include "jdwp/jdwp.h"
+#include <inttypes.h>
+
#include "base/stringprintf.h"
#include "jdwp/jdwp_priv.h"
@@ -98,7 +100,7 @@ MethodId Request::ReadMethodId() {
ObjectId Request::ReadObjectId(const char* specific_kind) {
ObjectId id = Read8BE();
- VLOG(jdwp) << StringPrintf(" %s id %#llx", specific_kind, id);
+ VLOG(jdwp) << StringPrintf(" %s id %#" PRIx64, specific_kind, id);
return id;
}