From 1b7d933072f0c83f40547b9a10da05834639b9e7 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 2 Aug 2014 19:12:55 -0400 Subject: [PATCH] Fix a cast warning when compiling with MSVC Would previously give a C4800 warning. --- Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp b/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp index 0717aac06a..ce53f58d07 100644 --- a/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp +++ b/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp @@ -423,7 +423,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)