diff --git a/Utilities/Thread.cpp b/Utilities/Thread.cpp index d763443abd..0bffdbce94 100644 --- a/Utilities/Thread.cpp +++ b/Utilities/Thread.cpp @@ -1796,7 +1796,7 @@ static void signal_handler(int /*sig*/, siginfo_t* info, void* uct) noexcept const bool is_executing = err & 0x10; const bool is_writing = err & 0x2; #elif defined(ARCH_ARM64) - const bool is_executing = uptr(info->si_addr) == RIP(context); + const bool is_executing = uptr(info->si_addr) == uptr(RIP(context)); const u32 insn = is_executing ? 0 : *reinterpret_cast(RIP(context)); const bool is_writing = (insn & 0xbfff0000) == 0x0c000000 || (insn & 0xbfe00000) == 0x0c800000