commit | deaac40ea7e7d3754d917808fcc1aad52d8f52b7 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Mar 27 13:49:44 2012 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Mar 28 19:21:59 2012 -0700 |
tree | 5bfe9b2b33058e2786de5a75ae0c3f9c3226cf62 | |
parent | 7a967b3d4468ab56bf1b75ebd4d7bf9e6798761b [diff] |
Fix the C++ compilation part of the Mac build. (cherry picked from commit b755f82c7096aa31d5d11b124bcf5fe14ab35a47) Change-Id: Icf352a57e6c99409a3153b4163d7cc6d01bd18f0
diff --git a/src/compiler/codegen/x86/ArchUtility.cc b/src/compiler/codegen/x86/ArchUtility.cc index fa94db3..6c54e34 100644 --- a/src/compiler/codegen/x86/ArchUtility.cc +++ b/src/compiler/codegen/x86/ArchUtility.cc
@@ -90,7 +90,7 @@ break; case 't': buf += StringPrintf("0x%08x (L%p)", - (intptr_t)baseAddr + lir->offset + operand, + reinterpret_cast<uint32_t>(baseAddr) + lir->offset + operand, lir->target); break; default: