diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h index fcbcfc71..adea1f8b 100644 --- a/include/fmt/format-inl.h +++ b/include/fmt/format-inl.h @@ -981,7 +981,7 @@ FMT_FUNC void fallback_format(Double v, buffer& 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; } }