mirror of https://github.com/gchq/CyberChef.git
Fixed right shift 32 problem
This commit is contained in:
parent
a3b873fd96
commit
cd4e70b24b
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue