diff --git a/Core/MIPS/x86/X64IRCompSystem.cpp b/Core/MIPS/x86/X64IRCompSystem.cpp index 09931e4179..ac0eeec570 100644 --- a/Core/MIPS/x86/X64IRCompSystem.cpp +++ b/Core/MIPS/x86/X64IRCompSystem.cpp @@ -245,7 +245,7 @@ void X64JitBackend::CompIR_System(IRInst inst) { FlushAll(); SaveStaticRegisters(); WriteDebugProfilerStatus(IRProfilerStatus::REPLACEMENT); - ABI_CallFunctionP(GetReplacementFunc(inst.constant)->replaceFunc, mips_); + ABI_CallFunctionP((const void *)GetReplacementFunc(inst.constant)->replaceFunc, mips_); WriteDebugProfilerStatus(IRProfilerStatus::IN_JIT); LoadStaticRegisters();