summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorshuffle2 <godisgovernment@gmail.com>2014-08-12 13:45:31 -0700
committershuffle2 <godisgovernment@gmail.com>2014-08-12 13:45:31 -0700
commit4e73dd2d0c4af14f26c25cdf8fc09ed2310d87e6 (patch)
tree7485b7c43d5aab2d487b4d2040850e02f151dfbf /Source/Core
parentd03e91962e9c7cb5a51693086df2ecaa50ec8c12 (diff)
parent1b7d933072f0c83f40547b9a10da05834639b9e7 (diff)
Merge pull request #722 from lioncash/casts
Fix a cast warning when compiling with MSVC
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp b/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp
index 82d6904063..717ddeebf1 100644
--- a/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp
+++ b/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp
@@ -422,7 +422,7 @@ void Jit64::cmpXX(UGeckoInstruction inst)
{
js.downcountAmount++;
int test_bit = 8 >> (js.next_inst.BI & 3);
- bool condition = js.next_inst.BO & BO_BRANCH_IF_TRUE;
+ bool condition = !!(js.next_inst.BO & BO_BRANCH_IF_TRUE);
// Test swapping (in the future, will be used to inline across branches the right way)
// if (rand() & 1)