aboutsummaryrefslogtreecommitdiff
path: root/i386-asm.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-09-01 14:29:29 +0200
committergrischka <grischka>2009-11-13 18:09:02 +0100
commit2fdb45f57700891252cd36c34dce870f81e1f4ad (patch)
treec9ef8a53a34038820470fbed311f49de8eef7458 /i386-asm.c
parent3065e706307eb18cb3527296f8fc97dbb9702be2 (diff)
downloadtinycc-2fdb45f57700891252cd36c34dce870f81e1f4ad.tar.gz
tinycc-2fdb45f57700891252cd36c34dce870f81e1f4ad.tar.bz2
fix ambiguity
Signed-off-by: aldot <rep.dot.nop@gmail.com>
Diffstat (limited to 'i386-asm.c')
-rw-r--r--i386-asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386-asm.c b/i386-asm.c
index 9ac1a5c..891943e 100644
--- a/i386-asm.c
+++ b/i386-asm.c
@@ -653,7 +653,7 @@ static void asm_opcode(TCCState *s1, int opcode)
if (ops[i].type & OP_REG32) {
if (s1->seg_size == 16)
o32 = 1;
- } else if (!ops[i].type & OP_REG32) {
+ } else if (!(ops[i].type & OP_REG32)) {
if (s1->seg_size == 32)
o32 = 1;
}