[llvm-commits] [llvm] r45731 - /llvm/trunk/lib/Target/X86/X86JITInfo.cpp
Bill Wendling
isanbard at gmail.com
Mon Jan 7 16:52:29 PST 2008
Author: void
Date: Mon Jan 7 18:52:29 2008
New Revision: 45731
URL: http://llvm.org/viewvc/llvm-project?rev=45731&view=rev
Log:
Silence warning about loss of precision.
Modified:
llvm/trunk/lib/Target/X86/X86JITInfo.cpp
Modified: llvm/trunk/lib/Target/X86/X86JITInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86JITInfo.cpp?rev=45731&r1=45730&r2=45731&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86JITInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86JITInfo.cpp Mon Jan 7 18:52:29 2008
@@ -387,7 +387,7 @@
MCE.emitWordLE(((unsigned *)&GV)[1]);
#else
MCE.startFunctionStub(4, 4);
- MCE.emitWordLE((unsigned)GV);
+ MCE.emitWordLE((intptr_t)GV);
#endif
return MCE.finishFunctionStub(0);
}
More information about the llvm-commits
mailing list