[llvm-commits] CVS: llvm/tools/llvm-ld/Optimize.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Jun 2 15:11:19 PDT 2006
Changes in directory llvm/tools/llvm-ld:
Optimize.cpp updated: 1.6 -> 1.7
---
Log message:
Fix a -pedantic warning
---
Diffs of the changes: (+1 -1)
Optimize.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/tools/llvm-ld/Optimize.cpp
diff -u llvm/tools/llvm-ld/Optimize.cpp:1.6 llvm/tools/llvm-ld/Optimize.cpp:1.7
--- llvm/tools/llvm-ld/Optimize.cpp:1.6 Tue Oct 18 01:29:43 2005
+++ llvm/tools/llvm-ld/Optimize.cpp Fri Jun 2 17:11:06 2006
@@ -174,7 +174,7 @@
sys::DynamicLibrary dll(I->c_str());
typedef void (*OptimizeFunc)(PassManager&,int);
OptimizeFunc OF = OptimizeFunc(
- dll.GetAddressOfSymbol("RunOptimizations"));
+ (intptr_t)dll.GetAddressOfSymbol("RunOptimizations"));
if (OF == 0) {
throw std::string("Optimization Module '") + *I +
"' is missing the RunOptimizations symbol";
More information about the llvm-commits
mailing list