diff --git a/Source/Core/Core/PowerPC/JitCommon/TrampolineCache.cpp b/Source/Core/Core/PowerPC/JitCommon/TrampolineCache.cpp index 5e961bc6e5..ae83eec2d5 100644 --- a/Source/Core/Core/PowerPC/JitCommon/TrampolineCache.cpp +++ b/Source/Core/Core/PowerPC/JitCommon/TrampolineCache.cpp @@ -46,7 +46,7 @@ const u8 *TrampolineCache::GetReadTrampoline(const InstructionInfo &info, u32 re ABI_PushRegistersAndAdjustStack(registersInUse, 8); if (addrReg != ABI_PARAM1) - MOV(32, R(ABI_PARAM1), R((X64Reg)addrReg)); + MOV(32, R(ABI_PARAM1), R(addrReg)); if (info.displacement) ADD(32, R(ABI_PARAM1), Imm32(info.displacement));