mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Fix a warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27967 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b3f70d7d55
commit
c34b22716b
@ -699,7 +699,7 @@ uint64_t JITEmitter::getJumpTableEntryAddress(unsigned Index) {
|
||||
for (unsigned i = 0; i < Index; ++i)
|
||||
Offset += JT[i].MBBs.size() * EntrySize;
|
||||
|
||||
return (uint64_t)((char *)JumpTableBase + Offset);
|
||||
return (intptr_t)((char *)JumpTableBase + Offset);
|
||||
}
|
||||
|
||||
unsigned char* JITEmitter::allocateGlobal(unsigned size, unsigned alignment)
|
||||
|
Loading…
Reference in New Issue
Block a user