mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-01 02:33:44 +00:00
Eliminated a compiler warning due to casting to a different-sized datatype.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6531 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f86aaa8eb7
commit
bc80b2249a
@ -70,7 +70,7 @@ unsigned JITResolver::getLazyResolver(Function *F) {
|
||||
|
||||
void JITResolver::CompilationCallback() {
|
||||
unsigned *StackPtr = (unsigned*)__builtin_frame_address(0);
|
||||
unsigned RetAddr = (unsigned)__builtin_return_address(0);
|
||||
unsigned RetAddr = (unsigned)(intptr_t)__builtin_return_address(0);
|
||||
|
||||
assert(StackPtr[1] == RetAddr &&
|
||||
"Could not find return address on the stack!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user