diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-12-31 21:46:51 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-12-31 21:46:51 +0000 |
| commit | 12ddb091ed0a98ef323f2ee9e743386f570a4325 (patch) | |
| tree | b88f06308ccf09f39d01f0aec315ca07dd9cdcb5 | |
| parent | bfe7140f1ea5122cb39e3827fcc2a69ee3d4b73e (diff) | |
Get rid of parentheses around IsConst and IsMapped macros. Quiets a warning on Clang.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73976 e17a0e51-4ae3-4d35-97c3-1a29b211df97
| -rw-r--r-- | libpcsxcore/ix86/iR3000A.c | 4 | ||||
| -rw-r--r-- | libpcsxcore/ix86_64/iR3000A-64.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libpcsxcore/ix86/iR3000A.c b/libpcsxcore/ix86/iR3000A.c index f743d06b..7fe10b40 100644 --- a/libpcsxcore/ix86/iR3000A.c +++ b/libpcsxcore/ix86/iR3000A.c @@ -67,8 +67,8 @@ static iRegisters iRegsS[32]; #define ST_CONST 1
#define ST_MAPPED 2
-#define IsConst(reg) (iRegs[reg].state == ST_CONST)
-#define IsMapped(reg) (iRegs[reg].state == ST_MAPPED)
+#define IsConst(reg) iRegs[reg].state == ST_CONST
+#define IsMapped(reg) iRegs[reg].state == ST_MAPPED
static void (*recBSC[64])();
static void (*recSPC[64])();
diff --git a/libpcsxcore/ix86_64/iR3000A-64.c b/libpcsxcore/ix86_64/iR3000A-64.c index a9a66b7a..8b3cfa6a 100644 --- a/libpcsxcore/ix86_64/iR3000A-64.c +++ b/libpcsxcore/ix86_64/iR3000A-64.c @@ -70,8 +70,8 @@ static iRegisters iRegsS[32]; #define ST_CONST 1
#define ST_MAPPED 2
-#define IsConst(reg) (iRegs[reg].state == ST_CONST)
-#define IsMapped(reg) (iRegs[reg].state == ST_MAPPED)
+#define IsConst(reg) iRegs[reg].state == ST_CONST
+#define IsMapped(reg) iRegs[reg].state == ST_MAPPED
static void (*recBSC[64])();
static void (*recSPC[64])();
|
