Changes in directory llvm/lib/Target/PowerPC:
PPCJITInfo.cpp updated: 1.22 -> 1.23 --- Log message: Silence -pedantic warning --- Diffs of the changes: (+1 -1) PPCJITInfo.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/PowerPC/PPCJITInfo.cpp diff -u llvm/lib/Target/PowerPC/PPCJITInfo.cpp:1.22 llvm/lib/Target/PowerPC/PPCJITInfo.cpp:1.23 --- llvm/lib/Target/PowerPC/PPCJITInfo.cpp:1.22 Wed May 24 12:04:04 2006 +++ llvm/lib/Target/PowerPC/PPCJITInfo.cpp Thu Jun 1 12:17:06 2006 @@ -165,7 +165,7 @@ void *PPCJITInfo::emitFunctionStub(void *Fn, MachineCodeEmitter &MCE) { // If this is just a call to an external function, emit a branch instead of a // call. The code is the same except for one bit of the last instruction. - if (Fn != (void*)PPC32CompilationCallback) { + if (Fn != (void*)(intptr_t)PPC32CompilationCallback) { MCE.startFunctionStub(4*4); void *Addr = (void*)(intptr_t)MCE.getCurrentPCValue(); MCE.emitWordBE(0); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits