OSDN Git Service

Fix build
authorSebastien Hertz <shertz@google.com>
Thu, 15 May 2014 09:26:34 +0000 (11:26 +0200)
committerSebastien Hertz <shertz@google.com>
Thu, 15 May 2014 09:26:57 +0000 (11:26 +0200)
Fix format error.

Change-Id: Ic793c52f46d645bf88ea6b28d5b4fa1bdb315a20

runtime/debugger.cc

index e66c370..edf54be 100644 (file)
@@ -2777,7 +2777,7 @@ void Dbg::RequestDeoptimizationLocked(const DeoptimizationRequest& req) {
       CHECK(counter != nullptr) << StringPrintf("No counter for instrumentation event 0x%x",
                                                 req.instrumentation_event);
       if (*counter == 0) {
-        VLOG(jdwp) << StringPrintf("Queue request #%d to start listening to instrumentation event 0x%x",
+        VLOG(jdwp) << StringPrintf("Queue request #%zd to start listening to instrumentation event 0x%x",
                                    deoptimization_requests_.size(), req.instrumentation_event);
         deoptimization_requests_.push_back(req);
       }
@@ -2791,7 +2791,7 @@ void Dbg::RequestDeoptimizationLocked(const DeoptimizationRequest& req) {
                                                 req.instrumentation_event);
       *counter = *counter - 1;
       if (*counter == 0) {
-        VLOG(jdwp) << StringPrintf("Queue request #%d to stop listening to instrumentation event 0x%x",
+        VLOG(jdwp) << StringPrintf("Queue request #%zd to stop listening to instrumentation event 0x%x",
                                    deoptimization_requests_.size(), req.instrumentation_event);
         deoptimization_requests_.push_back(req);
       }