diff options
| author | justanotheranonymoususer <justanotheranonymoususer@users.noreply.github.com> | 2025-04-05 22:14:11 +0300 |
|---|---|---|
| committer | galenbwill <galenbwill@users.noreply.github.com> | 2025-05-27 08:03:08 -0700 |
| commit | cb7c2d3bb716a2e96cf7f127bbf71992a4861907 (patch) | |
| tree | cdca0f75aa9a8ce3d6d6a8f52cd54dd7d67690a5 /arch/arm64 | |
| parent | 7fa068ed7d3830aff237eebc8fd065246d5c8191 (diff) | |
Fix compilation with MSVC: arm64/disassembler/decode_scratchpad.c
MSVC shows several warnings, but this one is shown as an error, preventing compilation.
Diffstat (limited to 'arch/arm64')
| -rw-r--r-- | arch/arm64/disassembler/decode_scratchpad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/disassembler/decode_scratchpad.c b/arch/arm64/disassembler/decode_scratchpad.c index c1f63c10..7c1f3f86 100644 --- a/arch/arm64/disassembler/decode_scratchpad.c +++ b/arch/arm64/disassembler/decode_scratchpad.c @@ -4625,7 +4625,7 @@ int decode_scratchpad(context* ctx, Instruction* instr) case ENC_BFI_BFM_32M_BITFIELD: case ENC_SBFIZ_SBFM_32M_BITFIELD: case ENC_UBFIZ_UBFM_32M_BITFIELD: - lsb = -IMMR % 32; + lsb = IMMR % 32; width = IMMS + 1; break; default: |
