From dfe8305ae7ca95edc14aba0df04398b825c8e413 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Tue, 9 Oct 2018 23:47:18 +0100 Subject: [PATCH] PowerPC: fix a cast warning --- Source/Core/Core/PowerPC/PowerPC.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/PowerPC.cpp b/Source/Core/Core/PowerPC/PowerPC.cpp index 8abac6ae87..203ff3b825 100644 --- a/Source/Core/Core/PowerPC/PowerPC.cpp +++ b/Source/Core/Core/PowerPC/PowerPC.cpp @@ -191,7 +191,8 @@ static void InitializeCPUCore(CPUCore cpu_core) s_cpu_core_base = JitInterface::InitJitCore(cpu_core); if (!s_cpu_core_base) // Handle Situations where JIT core isn't available { - WARN_LOG(POWERPC, "CPU core %d not available. Falling back to default.", cpu_core); + WARN_LOG(POWERPC, "CPU core %d not available. Falling back to default.", + static_cast(cpu_core)); s_cpu_core_base = JitInterface::InitJitCore(DefaultCPUCore()); } break;