mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-09 05:13:01 +00:00
Silencing some MSVC warnings "C4805: '^' : unsafe mix of type 'bool' and type 'unsigned int' in operation"; NFC.
llvm-svn: 233067
This commit is contained in:
parent
6273f8a523
commit
ca3c41adf3
@ -1430,7 +1430,7 @@ APFloat::addOrSubtractSignificand(const APFloat &rhs, bool subtract)
|
||||
|
||||
/* Determine if the operation on the absolute values is effectively
|
||||
an addition or subtraction. */
|
||||
subtract ^= sign ^ rhs.sign;
|
||||
subtract ^= static_cast<bool>(sign ^ rhs.sign);
|
||||
|
||||
/* Are we bigger exponent-wise than the RHS? */
|
||||
bits = exponent - rhs.exponent;
|
||||
|
Loading…
Reference in New Issue
Block a user