mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-05 02:27:45 +00:00
Suppress an msvc warning
This commit is contained in:
parent
deeab54b40
commit
91abfcd6cf
@ -2989,7 +2989,7 @@ FMT_CONSTEXPR20 inline void format_dragon(basic_fp<uint128_t> value,
|
|||||||
upper = &upper_store;
|
upper = &upper_store;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
bool even = (value.f & 1) == 0;
|
int even = static_cast<int>(value.f & 1);
|
||||||
if (!upper) upper = &lower;
|
if (!upper) upper = &lower;
|
||||||
if ((flags & dragon::fixup) != 0) {
|
if ((flags & dragon::fixup) != 0) {
|
||||||
if (add_compare(numerator, *upper, denominator) + even <= 0) {
|
if (add_compare(numerator, *upper, denominator) + even <= 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user