fix a warning on 32-bit systems

llvm-svn: 22513
This commit is contained in:
Chris Lattner 2005-07-25 23:42:58 +00:00
parent b9ce12b4bb
commit 54d27a49da
1 changed files with 1 additions and 1 deletions

View File

@ -437,7 +437,7 @@ void JITEmitter::finishFunction(MachineFunction &F) {
MR.doesntNeedFunctionStub());
else //ConstantPoolIndex
ResultPtr =
(void*)getConstantPoolEntryAddress(MR.getConstantPoolIndex());
(void*)(intptr_t)getConstantPoolEntryAddress(MR.getConstantPoolIndex());
MR.setResultPointer(ResultPtr);