Skip to content

Commit

Permalink
Fixed a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Dec 23, 2024
1 parent e071a70 commit 12987af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libtools/decopcode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 12987af

Please sign in to comment.