diff --git a/Core/AVIDump.cpp b/Core/AVIDump.cpp index 834a622ba..3074d23ea 100644 --- a/Core/AVIDump.cpp +++ b/Core/AVIDump.cpp @@ -8,6 +8,7 @@ #endif #include +#include #include extern "C" { diff --git a/Core/MIPS/ARM64/Arm64RegCache.cpp b/Core/MIPS/ARM64/Arm64RegCache.cpp index 955d62945..5739e56d5 100644 --- a/Core/MIPS/ARM64/Arm64RegCache.cpp +++ b/Core/MIPS/ARM64/Arm64RegCache.cpp @@ -687,7 +687,7 @@ void Arm64RegCache::SetImm(MIPSGPReg r, u64 immVal) { return; } if (r == MIPS_REG_ZERO && immVal != 0) { - ERROR_LOG_REPORT(JIT, "Trying to set immediate %08x to r0 at %08x", immVal, compilerPC_); + ERROR_LOG_REPORT(JIT, "Trying to set immediate %08x to r0 at %08x", (u32)immVal, compilerPC_); return; }