[llvm-commits] CVS: llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Jul 25 16:43:09 PDT 2005
Changes in directory llvm/lib/ExecutionEngine/JIT:
JITEmitter.cpp updated: 1.70 -> 1.71
---
Log message:
fix a warning on 32-bit systems
---
Diffs of the changes: (+1 -1)
JITEmitter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp
diff -u llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp:1.70 llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp:1.71
--- llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp:1.70 Fri Jul 22 15:48:12 2005
+++ llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp Mon Jul 25 18:42:58 2005
@@ -437,7 +437,7 @@
MR.doesntNeedFunctionStub());
else //ConstantPoolIndex
ResultPtr =
- (void*)getConstantPoolEntryAddress(MR.getConstantPoolIndex());
+ (void*)(intptr_t)getConstantPoolEntryAddress(MR.getConstantPoolIndex());
MR.setResultPointer(ResultPtr);
More information about the llvm-commits
mailing list