We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d58017 commit a26db57Copy full SHA for a26db57
include/fmt/format.h
@@ -3175,10 +3175,10 @@ constexpr auto fractional_part_rounding_thresholds(int index) -> uint32_t {
3175
// Then we split this up into two separate arrays of char16_ts, so they can
3176
// be properly recombined into uint32_t.
3177
3178
- return static_cast<uint16_t>(
+ return static_cast<uint32_t>(
3179
u"\x9999\x828f\x8041\x8006\x8000\x8000\x8000\x8000"[index])
3180
<< 16u |
3181
- static_cast<uint16_t>(
+ static_cast<uint32_t>(
3182
u"\x999a\x5c29\x8938\x8db9\xa7c6\x10c7\x01ae\x002b"[index]);
3183
}
3184
0 commit comments