summaryrefslogtreecommitdiffstats
path: root/runtime/reflection.cc
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-03-14 19:01:17 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-03-14 19:01:18 +0000
commit0735a7eb23d430b3f7276294a3a436eddcf07b98 (patch)
treeb0de20323134798482e43955e961aa751bf1761b /runtime/reflection.cc
parent288731acecf3582426c4c1c3e259dcc4d16f113e (diff)
parent11e4c038c5e319ee7dd423ff47ef9411920d198e (diff)
downloadart-0735a7eb23d430b3f7276294a3a436eddcf07b98.zip
art-0735a7eb23d430b3f7276294a3a436eddcf07b98.tar.gz
art-0735a7eb23d430b3f7276294a3a436eddcf07b98.tar.bz2
Merge "64bit build fix."
Diffstat (limited to 'runtime/reflection.cc')
-rw-r--r--runtime/reflection.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/reflection.cc b/runtime/reflection.cc
index 4310557..8e03429 100644
--- a/runtime/reflection.cc
+++ b/runtime/reflection.cc
@@ -231,7 +231,7 @@ class ArgArray {
mh.GetClassFromTypeIdx(classes->GetTypeItem(args_offset).type_idx_);
if (UNLIKELY(arg == nullptr || !arg->InstanceOf(dst_class))) {
ThrowIllegalArgumentException(nullptr,
- StringPrintf("method %s argument %d has type %s, got %s",
+ StringPrintf("method %s argument %zd has type %s, got %s",
PrettyMethod(mh.GetMethod(), false).c_str(),
args_offset + 1, // Humans don't count from 0.
PrettyDescriptor(dst_class).c_str(),
@@ -259,7 +259,7 @@ class ArgArray {
ThrowIllegalPrimitiveArgumentException(expected, src_descriptor); \
} else { \
ThrowIllegalArgumentException(nullptr, \
- StringPrintf("method %s argument %d has type %s, got %s", \
+ StringPrintf("method %s argument %zd has type %s, got %s", \
PrettyMethod(mh.GetMethod(), false).c_str(), \
args_offset + 1, \
expected, \