summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author Shih-wei Liao <sliao@google.com> 2012-01-14 10:22:14 -0800
committer Shih-wei Liao <sliao@google.com> 2012-01-15 11:52:31 -0800
commitc44c822849e283a668364850517801f21f0709b0 (patch)
treeacd02d46a318ed128cdfa36ec04b94e9ca7ff297 /src
parent6368967dc8a06835891b2e8925a45ee1af4e880e (diff)
Fix another Mac build error.
Currently, Mac build failed with this message: "art/src/compiler/codegen/arm/ArchUtility.cc:459: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'" Change-Id: I9bbbd2e9bc36ee99cbd3448cbf2e6b548cefeaed
Diffstat (limited to 'src')
-rw-r--r--src/compiler/codegen/arm/ArchUtility.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/codegen/arm/ArchUtility.cc b/src/compiler/codegen/arm/ArchUtility.cc
index 52fb018a1e..5e8fa20435 100644
--- a/src/compiler/codegen/arm/ArchUtility.cc
+++ b/src/compiler/codegen/arm/ArchUtility.cc
@@ -455,7 +455,7 @@ void oatCodegenDump(CompilationUnit* cUnit)
// Dump mapping table
if (cUnit->mappingTable.size() > 0) {
- std::string line(StringPrintf("\n MappingTable %s%s_%s_mappingTable[%d] = {",
+ std::string line(StringPrintf("\n MappingTable %s%s_%s_mappingTable[%zu] = {",
descriptor.c_str(), name.c_str(), signature.c_str(), cUnit->mappingTable.size()));
std::replace(line.begin(), line.end(), ';', '_');
LOG(INFO) << line;