From 12987af5619489d945d45d2dd05af1656707e2a2 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Mon, 23 Dec 2024 13:26:04 +0100 Subject: Fixed a warning --- src/libtools/decopcode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libtools/decopcode.c') diff --git a/src/libtools/decopcode.c b/src/libtools/decopcode.c index 5bc84657..a6694fb5 100644 --- a/src/libtools/decopcode.c +++ b/src/libtools/decopcode.c @@ -266,7 +266,7 @@ int decode_opcode(uintptr_t rip, int is32bits) return OPCODE_READ|OPCODE_STACK; case 0x80 ... 0x83: nextop = addr[idx++]; - return (MODREG)?0:((((nextop>>3)&7!=7)?OPCODE_WRITE:0)|OPCODE_READ); + return (MODREG)?0:(((((nextop>>3)&7)!=7)?OPCODE_WRITE:0)|OPCODE_READ); case 0x8F: nextop = addr[idx++]; return ((MODREG)?0:(OPCODE_WRITE))|OPCODE_READ|OPCODE_STACK; -- cgit 1.4.1