diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2015-03-24 12:47:51 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2015-03-24 12:47:51 +0000 |
commit | d5cc45f192cbc1d6ad2566cbf999e1edfb3a525a (patch) | |
tree | 0b02fa362ce4ca2df06c432596411261302b1700 /llvm/lib/Support/APFloat.cpp | |
parent | 666a986839118620720171f2065c0061a8d97580 (diff) | |
download | bcm5719-llvm-d5cc45f192cbc1d6ad2566cbf999e1edfb3a525a.tar.gz bcm5719-llvm-d5cc45f192cbc1d6ad2566cbf999e1edfb3a525a.zip |
Silencing some MSVC warnings "C4805: '^' : unsafe mix of type 'bool' and type 'unsigned int' in operation"; NFC.
llvm-svn: 233067
Diffstat (limited to 'llvm/lib/Support/APFloat.cpp')
-rw-r--r-- | llvm/lib/Support/APFloat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/APFloat.cpp b/llvm/lib/Support/APFloat.cpp index f3f01987f8e..5a402bb2804 100644 --- a/llvm/lib/Support/APFloat.cpp +++ b/llvm/lib/Support/APFloat.cpp @@ -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; |