summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2018-10-09 23:47:18 +0100
committerTillmann Karras <tilkax@gmail.com>2018-10-10 00:03:54 +0100
commitdfe8305ae7ca95edc14aba0df04398b825c8e413 (patch)
tree7f4788232b87a7585c6d9130d6909ca761cdbe3c /Source/Core
parent7cfba7397ccc205d72cb6bd4891d1735a812702c (diff)
PowerPC: fix a cast warning
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/PowerPC/PowerPC.cpp3
1 files changed, 2 insertions, 1 deletions
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<int>(cpu_core));
s_cpu_core_base = JitInterface::InitJitCore(DefaultCPUCore());
}
break;