mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Fix Visual Studio 2019 pedantic warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
This commit is contained in:
parent
c4dc6bef24
commit
91f7619cc9
@ -981,7 +981,7 @@ FMT_FUNC void fallback_format(Double v, buffer<char>& buf, int& exp10) {
|
||||
denominator <<= 1 - fp_value.e;
|
||||
lower.assign(1);
|
||||
if (shift != 0) {
|
||||
upper_store.assign(1 << shift);
|
||||
upper_store.assign(1ull << shift);
|
||||
upper = &upper_store;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user