64bit build fix.
Change-Id: I8c597217955d12b215bdcf1d92ca5fab9a7ed6e0
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 @@
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 @@
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, \