diff --git a/Source/Core/Core/PowerPC/Jit64/JitRegCache.cpp b/Source/Core/Core/PowerPC/Jit64/JitRegCache.cpp index eda4c3dc78..04f212b568 100644 --- a/Source/Core/Core/PowerPC/Jit64/JitRegCache.cpp +++ b/Source/Core/Core/PowerPC/Jit64/JitRegCache.cpp @@ -137,7 +137,7 @@ X64Reg RegCache::GetFreeXReg() X64Reg xr = (X64Reg)aOrder[i]; if (!xregs[xr].locked && xregs[xr].free) { - return (X64Reg)xr; + return xr; } }