From d9e4e0c8606f8b87e0a48aab68125dbee543bf88 Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Thu, 23 Jan 2014 20:11:40 -0800 Subject: 64bit friendly printf modifiers in JDWP. Change-Id: I105da6393b31f5901036216fbfe19a71c46cf152 --- runtime/jdwp/jdwp_request.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'runtime/jdwp/jdwp_request.cc') 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 + #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; } -- cgit v1.2.3-59-g8ed1b