summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Agulnick <todd@agulnick.com>2014-01-01 16:40:00 -0800
committerSebastian Dröge <sebastian@centricular.com>2014-01-02 10:03:29 +0100
commit324ea63194089690c741060fd2a9f02b7dc78fce (patch)
treed5647c4c373db838fef228c5c3c336257618c725
parent04c7c802a30405b9d4bf022f10ed68e2978be5dc (diff)
orcarm: OSX doesn't like comparisons against enum and int.
-rw-r--r--orc/orcarm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/orc/orcarm.c b/orc/orcarm.c
index d60c1d9..e89066e 100644
--- a/orc/orcarm.c
+++ b/orc/orcarm.c
@@ -33,7 +33,7 @@ orc_arm_cond_name (OrcArmCond cond)
"eq", "ne", "cs", "cc", "mi", "pl", "vs", "vc",
"hi", "ls", "ge", "lt", "gt", "le", "", ""
};
- if (cond < 0 || cond >= 16) {
+ if ((int)cond < 0 || (int)cond >= 16) {
return "ERROR";
}
return cond_names[cond&0xf];