From 7199c04c0c318ee8a2c18c7b3e40ad058c0a501a Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Mon, 22 Sep 2008 23:31:52 +0000 Subject: [PATCH] Fixed warning about mixing signed and unsigned. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@621 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/PowerPC/PowerPC.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/PowerPC/PowerPC.h b/Source/Core/Core/Src/PowerPC/PowerPC.h index 531edd320a..96845f65ba 100644 --- a/Source/Core/Core/Src/PowerPC/PowerPC.h +++ b/Source/Core/Core/Src/PowerPC/PowerPC.h @@ -140,7 +140,7 @@ inline u32 GetCRField(int cr_field) { return (PowerPC::ppcState.cr >> (4 * cr_field)) & 0xF; } -inline int GetCRBit(int bit) { +inline u32 GetCRBit(int bit) { return (CR >> (31 - bit)) & 1; }