summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2014-09-06 13:34:00 -0400
committercomex <comexk@gmail.com>2014-09-06 13:34:00 -0400
commit48ef6fcad1498e11edd5a35d2d52fd51681ed3c2 (patch)
treef0e7def55c153b75b42a1fe12b78e92a9b509992 /Source/Core
parent917c6d324a95708021a1a1410d18dac38c0218ed (diff)
Fix signed/unsigned warning in GeckoCode.cpp.
No actual bug here.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/GeckoCode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Core/GeckoCode.cpp b/Source/Core/Core/GeckoCode.cpp
index 4de792df20..cfa35c48a6 100644
--- a/Source/Core/Core/GeckoCode.cpp
+++ b/Source/Core/Core/GeckoCode.cpp
@@ -96,10 +96,10 @@ static bool InstallCodeHandler()
for (unsigned int h = 0; h < data.length(); h += 4)
{
// Patch MMIO address
- if (Memory::ReadUnchecked_U32(INSTALLER_BASE_ADDRESS + h) == (0x3f000000 | ((mmioAddr ^ 1) << 8)))
+ if (Memory::ReadUnchecked_U32(INSTALLER_BASE_ADDRESS + h) == (0x3f000000u | ((mmioAddr ^ 1) << 8)))
{
NOTICE_LOG(ACTIONREPLAY, "Patching MMIO access at %08x", INSTALLER_BASE_ADDRESS + h);
- Memory::Write_U32(0x3f000000 | mmioAddr << 8, INSTALLER_BASE_ADDRESS + h);
+ Memory::Write_U32(0x3f000000u | mmioAddr << 8, INSTALLER_BASE_ADDRESS + h);
}
}