mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +00:00
LibCrypto: Replace incorrect operator in SignedBigInteger::bitwise_and
This commit is contained in:
parent
38e9e35380
commit
3872c31b08
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ FLATTEN SignedBigInteger SignedBigInteger::bitwise_and(const SignedBigInteger& o
|
|||
auto result = bitwise_and(other.unsigned_value());
|
||||
|
||||
// The sign bit will have to be AND'd manually.
|
||||
result.m_sign = is_negative() || other.is_negative();
|
||||
result.m_sign = is_negative() && other.is_negative();
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue