diff options
| author | comex <comexk@gmail.com> | 2014-09-06 13:34:00 -0400 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2014-09-06 13:34:00 -0400 |
| commit | 48ef6fcad1498e11edd5a35d2d52fd51681ed3c2 (patch) | |
| tree | f0e7def55c153b75b42a1fe12b78e92a9b509992 /Source/Core | |
| parent | 917c6d324a95708021a1a1410d18dac38c0218ed (diff) | |
Fix signed/unsigned warning in GeckoCode.cpp.
No actual bug here.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/GeckoCode.cpp | 4 |
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); } } |
