commit | 750ec004365570089229169142b37934135aba41 | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Tue Jan 08 00:52:29 2008 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Tue Jan 08 00:52:29 2008 +0000 |
tree | 8b2b138880f202321fd729dddae550103e0ef321 | |
parent | 325474e06502eb0a593f4ef5a322bab2751f16dc [diff] [blame] |
Silence warning about loss of precision. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45731 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86JITInfo.cpp b/lib/Target/X86/X86JITInfo.cpp index dd45117..de7a8e4 100644 --- a/lib/Target/X86/X86JITInfo.cpp +++ b/lib/Target/X86/X86JITInfo.cpp
@@ -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); }