diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-12-23 13:26:04 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-12-23 13:26:04 +0100 |
| commit | 12987af5619489d945d45d2dd05af1656707e2a2 (patch) | |
| tree | a50343d23c4264016297a27cb80f57a0ba5ad337 /src/libtools | |
| parent | e071a70ec24b7ec8f0eb1733bd47c82db66dbc47 (diff) | |
| download | box64-12987af5619489d945d45d2dd05af1656707e2a2.tar.gz box64-12987af5619489d945d45d2dd05af1656707e2a2.zip | |
Fixed a warning
Diffstat (limited to 'src/libtools')
| -rw-r--r-- | src/libtools/decopcode.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |