2
0
mirror of https://github.com/gchq/CyberChef synced 2026-01-19 00:43:37 +00:00

Fixed right shift 32 problem

This commit is contained in:
Evan Reichard
2021-05-03 21:07:58 -04:00
parent a3b873fd96
commit cd4e70b24b

View File

@@ -4054,7 +4054,7 @@ function DecodeImmediate( type, BySize, SizeSetting )
//Sign bit adjust.
if( V32 >= ( n >> 1 ) ) { V32 -= n; }
if( V32 >= ( n / 2 ) ) { V32 -= n; }
//Add position.