diff options
author | Ian Rogers <irogers@google.com> | 2014-03-14 12:00:39 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-03-14 12:00:39 -0700 |
commit | 11e4c038c5e319ee7dd423ff47ef9411920d198e (patch) | |
tree | b0de20323134798482e43955e961aa751bf1761b /runtime/reflection.cc | |
parent | 53b8b09fc80329539585dcf43657bc5f4ecefdff (diff) | |
download | art-11e4c038c5e319ee7dd423ff47ef9411920d198e.tar.gz art-11e4c038c5e319ee7dd423ff47ef9411920d198e.tar.bz2 art-11e4c038c5e319ee7dd423ff47ef9411920d198e.zip |
64bit build fix.
Change-Id: I8c597217955d12b215bdcf1d92ca5fab9a7ed6e0
Diffstat (limited to 'runtime/reflection.cc')
-rw-r--r-- | runtime/reflection.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/reflection.cc b/runtime/reflection.cc index 43105571c9..8e0342910d 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, \ |